aboutsummaryrefslogtreecommitdiff
path: root/androidApp
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2022-02-20 00:09:55 -0600
committerIván Ávalos <avalos@disroot.org>2022-02-20 00:09:55 -0600
commit23d9023ff79ea6fe84c74174c06d8c829bee9f4d (patch)
tree3c814dc60d7f2c7023c8c5b9a3464b0d35b10c7e /androidApp
parentbf038830e299dface34f6938d3ffdef83b5ff949 (diff)
downloadetbsa-trackermap-mobile-23d9023ff79ea6fe84c74174c06d8c829bee9f4d.tar.gz
etbsa-trackermap-mobile-23d9023ff79ea6fe84c74174c06d8c829bee9f4d.tar.bz2
etbsa-trackermap-mobile-23d9023ff79ea6fe84c74174c06d8c829bee9f4d.zip
I don't know what happened to this file
Diffstat (limited to 'androidApp')
-rw-r--r--androidApp/src/main/java/mx/trackermap/TrackerMap/android/shared/MarkerTransformations.kt52
1 files changed, 26 insertions, 26 deletions
diff --git a/androidApp/src/main/java/mx/trackermap/TrackerMap/android/shared/MarkerTransformations.kt b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/shared/MarkerTransformations.kt
index 1c4ad3b..4dd1ea7 100644
--- a/androidApp/src/main/java/mx/trackermap/TrackerMap/android/shared/MarkerTransformations.kt
+++ b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/shared/MarkerTransformations.kt
@@ -46,36 +46,36 @@ object MarkerTransformations {
Marker.Type.TRUCK -> R.drawable.map_truck
Marker.Type.VAN -> R.drawable.map_van
- MarkerType.REPORT_POSITION -> R.drawable.map_report_position
- MarkerType.REPORT_START -> R.drawable.map_report_start
- MarkerType.REPORT_END -> R.drawable.map_report_end
+ Marker.Type.REPORT_POSITION -> R.drawable.map_report_position
+ Marker.Type.REPORT_START -> R.drawable.map_report_start
+ Marker.Type.REPORT_END -> R.drawable.map_report_end
}
}
- fun markerTypeToStringId(markerType: MarkerType): Int {
+ fun markerTypeToStringId(markerType: Marker.Type): Int {
return when (markerType) {
- MarkerType.ANIMAL -> R.string.unit_category_animal
- MarkerType.BACKHOE -> R.string.unit_category_backhoe
- MarkerType.BICYCLE -> R.string.unit_category_bicycle
- MarkerType.BOAT -> R.string.unit_category_boat
- MarkerType.BUS -> R.string.unit_category_bus
- MarkerType.CAR -> R.string.unit_category_car
- MarkerType.CRANE -> R.string.unit_category_crane
- MarkerType.DEFAULT -> R.string.unit_category_default
- MarkerType.HELICOPTER -> R.string.unit_category_helicopter
- MarkerType.MOTORCYCLE -> R.string.unit_category_motorcycle
- MarkerType.OFFROAD -> R.string.unit_category_offroad
- MarkerType.PERSON -> R.string.unit_category_person
- MarkerType.PICKUP -> R.string.unit_category_pickup
- MarkerType.PLANE -> R.string.unit_category_plane
- MarkerType.SCOOTER -> R.string.unit_category_scooter
- MarkerType.SHIP -> R.string.unit_category_ship
- MarkerType.TRACTOR -> R.string.unit_category_tractor
- MarkerType.TRAIN -> R.string.unit_category_train
- MarkerType.TRAM -> R.string.unit_category_tram
- MarkerType.TROLLEYBUS -> R.string.unit_category_trolleybus
- MarkerType.TRUCK -> R.string.unit_category_truck
- MarkerType.VAN -> R.string.unit_category_van
+ Marker.Type.ANIMAL -> R.string.unit_category_animal
+ Marker.Type.BACKHOE -> R.string.unit_category_backhoe
+ Marker.Type.BICYCLE -> R.string.unit_category_bicycle
+ Marker.Type.BOAT -> R.string.unit_category_boat
+ Marker.Type.BUS -> R.string.unit_category_bus
+ Marker.Type.CAR -> R.string.unit_category_car
+ Marker.Type.CRANE -> R.string.unit_category_crane
+ Marker.Type.DEFAULT -> R.string.unit_category_default
+ Marker.Type.HELICOPTER -> R.string.unit_category_helicopter
+ Marker.Type.MOTORCYCLE -> R.string.unit_category_motorcycle
+ Marker.Type.OFFROAD -> R.string.unit_category_offroad
+ Marker.Type.PERSON -> R.string.unit_category_person
+ Marker.Type.PICKUP -> R.string.unit_category_pickup
+ Marker.Type.PLANE -> R.string.unit_category_plane
+ Marker.Type.SCOOTER -> R.string.unit_category_scooter
+ Marker.Type.SHIP -> R.string.unit_category_ship
+ Marker.Type.TRACTOR -> R.string.unit_category_tractor
+ Marker.Type.TRAIN -> R.string.unit_category_train
+ Marker.Type.TRAM -> R.string.unit_category_tram
+ Marker.Type.TROLLEYBUS -> R.string.unit_category_trolleybus
+ Marker.Type.TRUCK -> R.string.unit_category_truck
+ Marker.Type.VAN -> R.string.unit_category_van
else -> R.string.unit_category_default
}
}