aboutsummaryrefslogtreecommitdiff
path: root/shared/src/commonMain/kotlin
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2022-01-17 15:59:22 -0600
committerIván Ávalos <avalos@disroot.org>2022-01-17 15:59:22 -0600
commit1b1480e0fad512aa0c01d0b33865b818625cf420 (patch)
treef16dabbb765f3ed87ed1eff3a69eab19f0b14692 /shared/src/commonMain/kotlin
parent2f64c3904216279a62afaa9aefbd1e49f88d3cc4 (diff)
parent07d184c408aba980f331ecaa3e4baef80b6ce82c (diff)
downloadetbsa-trackermap-mobile-1b1480e0fad512aa0c01d0b33865b818625cf420.tar.gz
etbsa-trackermap-mobile-1b1480e0fad512aa0c01d0b33865b818625cf420.tar.bz2
etbsa-trackermap-mobile-1b1480e0fad512aa0c01d0b33865b818625cf420.zip
Merge branch 'main' of https://git.sr.ht/~avalos/trackermap-mobile
Diffstat (limited to 'shared/src/commonMain/kotlin')
-rw-r--r--shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/controllers/GeofencesController.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/controllers/GeofencesController.kt b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/controllers/GeofencesController.kt
index fc336d1..e9b19b6 100644
--- a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/controllers/GeofencesController.kt
+++ b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/controllers/GeofencesController.kt
@@ -20,7 +20,7 @@ class GeofencesController(
}
private suspend fun fetchGeofences() {
- val geofences = geofencesApi.geofencesGet(all = true)
+ val geofences = geofencesApi.geofencesGet()
val geofencesMap = mutableMapOf<Int, Geofence>()
geofences.forEach {
geofencesMap[it.id!!] = it