From b86898ed1ac5d06d3e3a39cc693cac0a1acc4ef6 Mon Sep 17 00:00:00 2001 From: Iván Ávalos Date: Sun, 6 Feb 2022 22:51:05 -0600 Subject: Added CommandsController --- .../main/java/mx/trackermap/TrackerMap/android/shared/UnitRenderData.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'androidApp/src/main/java/mx/trackermap') diff --git a/androidApp/src/main/java/mx/trackermap/TrackerMap/android/shared/UnitRenderData.kt b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/shared/UnitRenderData.kt index 7b66bd3..9a9f85c 100644 --- a/androidApp/src/main/java/mx/trackermap/TrackerMap/android/shared/UnitRenderData.kt +++ b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/shared/UnitRenderData.kt @@ -148,7 +148,7 @@ class UnitRenderData { } /* Hourmeter */ - position.attributes["hours"]?.longOrNull?.let { + unit.getHourmeter()?.let { if (it > 0) { details.add( Triple( -- cgit v1.2.3