Commit 45b9ad0d by Demid Merzlyakov

Fix onboarding location prompt bug.

parent 18b95c10
...@@ -161,6 +161,13 @@ public class LocationManager { ...@@ -161,6 +161,13 @@ public class LocationManager {
delegate.locationManager(self, changedSelectedLocation: location) delegate.locationManager(self, changedSelectedLocation: location)
} }
} }
else if location == defaultLocation {
defaultLocation = location
self.delegates.invoke { [weak self] (delegate) in
guard let self = self else { return }
delegate.locationManager(self, changedSelectedLocation: location)
}
}
else { else {
self.addIfNeeded(location: location, selectLocation: true) self.addIfNeeded(location: location, selectLocation: true)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment