mirror of
https://github.com/nextcloud/talk-android
synced 2025-07-11 06:44:09 +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)
|
mapController.setZoom(ZOOM_LEVEL_DEFAULT)
|
||||||
}
|
}
|
||||||
|
|
||||||
val zoomToCurrentPositionOnFirstFix = geocodingResult == null
|
val zoomToCurrentPositionOnFirstFix = geocodingResult == null && moveToCurrentLocation
|
||||||
locationOverlay.runOnFirstFix {
|
locationOverlay.runOnFirstFix {
|
||||||
if (locationOverlay.myLocation != null) {
|
if (locationOverlay.myLocation != null) {
|
||||||
myLocation = locationOverlay.myLocation
|
myLocation = locationOverlay.myLocation
|
||||||
|
Loading…
Reference in New Issue
Block a user