diff options
author | Iván Ávalos <avalos@disroot.org> | 2022-01-16 18:28:14 -0600 |
---|---|---|
committer | Iván Ávalos <avalos@disroot.org> | 2022-01-16 18:28:14 -0600 |
commit | 88d35312f8718ab4379448a1b5aeac2b2db2b944 (patch) | |
tree | b4210a6abeed10b1bf6c8486462495d46e4a9566 /androidApp/src/main | |
parent | 61e870d01805d8eadb870b98c33eab64d9deb1af (diff) | |
download | etbsa-trackermap-mobile-88d35312f8718ab4379448a1b5aeac2b2db2b944.tar.gz etbsa-trackermap-mobile-88d35312f8718ab4379448a1b5aeac2b2db2b944.tar.bz2 etbsa-trackermap-mobile-88d35312f8718ab4379448a1b5aeac2b2db2b944.zip |
Fixed event report types on API
Diffstat (limited to 'androidApp/src/main')
-rw-r--r-- | androidApp/src/main/java/mx/trackermap/TrackerMap/android/details/reports/UnitReportsViewModel.kt | 2 |
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, |