From 269f3454d128237e82cbb57dac77c58ab7423aaf Mon Sep 17 00:00:00 2001 From: Iván Ávalos Date: Tue, 18 Jan 2022 10:59:06 -0600 Subject: Fixed geofences retrieval in reports and lifecycle issue with unit details fragment --- .../kotlin/mx/trackermap/TrackerMap/controllers/ReportController.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shared') diff --git a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/controllers/ReportController.kt b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/controllers/ReportController.kt index 78f0173..fcde002 100644 --- a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/controllers/ReportController.kt +++ b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/controllers/ReportController.kt @@ -95,7 +95,7 @@ class ReportController( val eventsResult = reportsApi.reportsEventsGet( from, to, EventInformation.reportTypesToStrings(types), deviceId ) - val geofencesResult = geofencesApi.geofencesGet(all = true) + val geofencesResult = geofencesApi.geofencesGet() val result = mutableListOf() eventsResult.forEach { event -> -- cgit v1.2.3