aboutsummaryrefslogtreecommitdiff
path: root/androidApp/src/main/java/mx/trackermap/TrackerMap/android/devices
diff options
context:
space:
mode:
authorIsidro Henoch <imhenoch@protonmail.com>2021-12-27 14:27:17 -0600
committerIsidro Henoch <imhenoch@protonmail.com>2021-12-27 14:27:17 -0600
commit4b96b30829e41654dfb6aa06efd9247a83d679c7 (patch)
treec05e1f969db941067a8fc965cf72282a675219de /androidApp/src/main/java/mx/trackermap/TrackerMap/android/devices
parentc770427accb821f7f314729dbf72978afd90d2dc (diff)
downloadetbsa-trackermap-mobile-4b96b30829e41654dfb6aa06efd9247a83d679c7.tar.gz
etbsa-trackermap-mobile-4b96b30829e41654dfb6aa06efd9247a83d679c7.tar.bz2
etbsa-trackermap-mobile-4b96b30829e41654dfb6aa06efd9247a83d679c7.zip
Implements the report functionality, UI is missing
Diffstat (limited to 'androidApp/src/main/java/mx/trackermap/TrackerMap/android/devices')
-rw-r--r--androidApp/src/main/java/mx/trackermap/TrackerMap/android/devices/DevicesAdapter.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/androidApp/src/main/java/mx/trackermap/TrackerMap/android/devices/DevicesAdapter.kt b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/devices/DevicesAdapter.kt
index 4852757..6a01e33 100644
--- a/androidApp/src/main/java/mx/trackermap/TrackerMap/android/devices/DevicesAdapter.kt
+++ b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/devices/DevicesAdapter.kt
@@ -73,7 +73,7 @@ class DevicesAdapter(
driverName.text = unit.device.contact
unitSpeed.text = context.getString(R.string.unit_speed_format, unit.position?.speed?.toInt() ?: 0)
lastAddress.text = unit.position?.address
- lastDate.text = "yyyy/mm/dd, hh:mm"
+ lastDate.text = unit.position?.deviceTime
actionCallback?.let { callback ->
detailsButton.setOnClickListener { callback(unit, Action.DETAILS) }
reportsButton.setOnClickListener { callback(unit, Action.REPORTS) }