We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c60f89 commit 7ab0b29Copy full SHA for 7ab0b29
βFitfty/Projects/Core/Sources/Utilities/LocationManager.swiftβ
@@ -35,7 +35,7 @@ public final class LocationManager: NSObject {
35
return Empty().eraseToAnyPublisher()
36
}
37
requestWhenInUseAuthorization()
38
- manager.startUpdatingLocation()
+ manager.requestLocation()
39
return _location
40
.eraseToAnyPublisher()
41
@@ -56,7 +56,7 @@ extension LocationManager: CLLocationManagerDelegate {
56
let status = manager.authorizationStatus
57
switch status {
58
case .authorizedAlways, .authorizedWhenInUse:
59
60
case .notDetermined, .restricted:
61
62
default:
0 commit comments