Skip to content

Commit 7ab0b29

Browse files
committed
πŸ› [fix] μ‚¬μš©μžκ°€ 이동 쀑일 λ•Œ μ‹€μ‹œκ°„μœΌλ‘œ μœ„μΉ˜κ°€ μ—…λ°μ΄νŠΈ 되던 ν˜„μƒμ„ κ°œμ„ 
- μ‚¬μš©μžμ˜ μœ„μΉ˜λ₯Ό μ‹€μ‹œκ°„μ΄ μ•„λ‹ˆλΌ μΌνšŒμ„±μœΌλ‘œ μš”μ²­ν•˜λ„λ‘ μˆ˜μ •
1 parent 3c60f89 commit 7ab0b29

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

β€ŽFitfty/Projects/Core/Sources/Utilities/LocationManager.swiftβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public final class LocationManager: NSObject {
3535
return Empty().eraseToAnyPublisher()
3636
}
3737
requestWhenInUseAuthorization()
38-
manager.startUpdatingLocation()
38+
manager.requestLocation()
3939
return _location
4040
.eraseToAnyPublisher()
4141
}
@@ -56,7 +56,7 @@ extension LocationManager: CLLocationManagerDelegate {
5656
let status = manager.authorizationStatus
5757
switch status {
5858
case .authorizedAlways, .authorizedWhenInUse:
59-
manager.startUpdatingLocation()
59+
manager.requestLocation()
6060
case .notDetermined, .restricted:
6161
requestWhenInUseAuthorization()
6262
default:

0 commit comments

Comments
Β (0)