aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2022-01-31 03:48:41 -0600
committerIván Ávalos <avalos@disroot.org>2022-01-31 03:48:41 -0600
commite49038d0ae174c2fcf77fdfa39143ca8193d6cf3 (patch)
treec62adb05020a1c74c35e1d89d0d377a0ad3e63ea
parentaeb5743b80809047ac936bfceffdfd896c274299 (diff)
downloadetbsa-trackermap-mobile-e49038d0ae174c2fcf77fdfa39143ca8193d6cf3.tar.gz
etbsa-trackermap-mobile-e49038d0ae174c2fcf77fdfa39143ca8193d6cf3.tar.bz2
etbsa-trackermap-mobile-e49038d0ae174c2fcf77fdfa39143ca8193d6cf3.zip
Disabled animation on initial map focusOn
-rw-r--r--iosApp/iosApp/Map/BaseMapView.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/iosApp/iosApp/Map/BaseMapView.swift b/iosApp/iosApp/Map/BaseMapView.swift
index bf2c82b..b247c30 100644
--- a/iosApp/iosApp/Map/BaseMapView.swift
+++ b/iosApp/iosApp/Map/BaseMapView.swift
@@ -81,7 +81,7 @@ struct BaseMapView: UIViewControllerRepresentable {
DispatchQueue.main.async {
let point = MaplyCoordinateMakeWithDegrees(-100.36, 23.191)
- mapViewController.focusOn(point: point, height: 0.4)
+ mapViewController.focusOn(point: point, height: 0.4, animated: false)
}
return mapViewController