mirror of
https://github.com/nextcloud/talk-android
synced 2025-07-10 14:24:05 +01:00
Fix to keep map position when app was in background
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
95afdf7c81
commit
f323049815
@ -273,7 +273,7 @@ class LocationPickerActivity :
|
||||
mapController.setZoom(ZOOM_LEVEL_DEFAULT)
|
||||
}
|
||||
|
||||
val zoomToCurrentPositionOnFirstFix = geocodingResult == null
|
||||
val zoomToCurrentPositionOnFirstFix = geocodingResult == null && moveToCurrentLocation
|
||||
locationOverlay.runOnFirstFix {
|
||||
if (locationOverlay.myLocation != null) {
|
||||
myLocation = locationOverlay.myLocation
|
||||
|
Loading…
Reference in New Issue
Block a user