aboutsummaryrefslogtreecommitdiff
path: root/androidApp/src/main/java/mx/trackermap
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2022-01-22 03:38:51 -0600
committerIván Ávalos <avalos@disroot.org>2022-01-22 03:38:51 -0600
commit35da6cfb0b80b57a7c3c47c7f9f9b8a5f222019d (patch)
treee46e4011d0c1555b7ee1a6da5199da39cb5b40fa /androidApp/src/main/java/mx/trackermap
parentab18eaaf4bf76c3c244f4512b53f19ebaba90596 (diff)
downloadetbsa-trackermap-mobile-35da6cfb0b80b57a7c3c47c7f9f9b8a5f222019d.tar.gz
etbsa-trackermap-mobile-35da6cfb0b80b57a7c3c47c7f9f9b8a5f222019d.tar.bz2
etbsa-trackermap-mobile-35da6cfb0b80b57a7c3c47c7f9f9b8a5f222019d.zip
Clear setupCallbacks on MapFragment after running all the callbacks
Diffstat (limited to 'androidApp/src/main/java/mx/trackermap')
-rw-r--r--androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/MapFragment.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/MapFragment.kt b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/MapFragment.kt
index c715d07..a76ebde 100644
--- a/androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/MapFragment.kt
+++ b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/MapFragment.kt
@@ -114,6 +114,7 @@ open class MapFragment : GlobeMapFragment() {
hasStarted = true
setupCallbacks.forEach { it() }
+ setupCallbacks.clear()
}
override fun onStop() {