From f133dc96d4072c3bf4f9794b000b1e0ab946f96b Mon Sep 17 00:00:00 2001 From: Iván Ávalos Date: Sun, 16 Jan 2022 18:28:14 -0600 Subject: Fixed event report types on API --- .../TrackerMap/android/details/reports/UnitReportsViewModel.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'androidApp/src/main') 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, -- cgit v1.2.3