mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
fixed a bug that made the map still follow your location, even whan trying to center the map on an annotation.
This commit is contained in:
@@ -85,6 +85,9 @@ class LocationSharingScreenViewModel: LocationSharingScreenViewModelType, Locati
|
||||
}
|
||||
case .stopLiveLocation:
|
||||
stopLiveLocation()
|
||||
case .setMapCenter(let coordinate):
|
||||
state.bindings.showsUserLocationMode = .show
|
||||
state.bindings.mapCenterLocation = coordinate
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user