Skip to content

Commit aa54abe

Browse files
committed
πŸ”§ [chore] μœ„μΉ˜ λ‘œλ”© μ‹€νŒ¨μ‹œ default μ’Œν‘œλ‘œ μ€€λ‹€
1 parent c624305 commit aa54abe

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,7 @@ private extension DefaultUserManager {
101101

102102
func fetchCurrentLocation() {
103103
LocationManager.shared.currentLocation()
104-
.compactMap { $0 }
105-
.map { ($0.coordinate.longitude, $0.coordinate.latitude )}
104+
.map { ($0?.coordinate.longitude ?? 126.977829174031, $0?.coordinate.latitude ?? 37.5663174209601 )}
106105
.sink(receiveValue: { [weak self] (longitude: Double, latitude: Double) in
107106
self?._location.send((longitude, latitude))
108107
}).store(in: &cancellables)

0 commit comments

Comments
Β (0)