aboutsummaryrefslogtreecommitdiff
path: root/androidApp
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2022-01-16 18:28:14 -0600
committerIván Ávalos <avalos@disroot.org>2022-01-16 18:28:14 -0600
commitf133dc96d4072c3bf4f9794b000b1e0ab946f96b (patch)
treeb4210a6abeed10b1bf6c8486462495d46e4a9566 /androidApp
parent21e16e27f047053582d8b0c722feedf3c8badebe (diff)
downloadetbsa-trackermap-mobile-f133dc96d4072c3bf4f9794b000b1e0ab946f96b.tar.gz
etbsa-trackermap-mobile-f133dc96d4072c3bf4f9794b000b1e0ab946f96b.tar.bz2
etbsa-trackermap-mobile-f133dc96d4072c3bf4f9794b000b1e0ab946f96b.zip
Fixed event report types on API
Diffstat (limited to 'androidApp')
-rw-r--r--androidApp/src/main/java/mx/trackermap/TrackerMap/android/details/reports/UnitReportsViewModel.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/androidApp/src/main/java/mx/trackermap/TrackerMap/android/details/reports/UnitReportsViewModel.kt b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/details/reports/UnitReportsViewModel.kt
index 62ac4f2..7749b54 100644
--- a/androidApp/src/main/java/mx/trackermap/TrackerMap/android/details/reports/UnitReportsViewModel.kt
+++ b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/details/reports/UnitReportsViewModel.kt
@@ -86,7 +86,7 @@ class UnitReportsViewModel(
reportType = _reportType.value,
reportPeriod = _reportPeriod.value,
xlsx = xlsx,
- eventTypes = arrayOf(
+ eventTypes = listOf(
EventInformation.Type.DEVICE_INACTIVE,
EventInformation.Type.DEVICE_MOVING,
EventInformation.Type.DEVICE_STOPPED,