aboutsummaryrefslogtreecommitdiff
path: root/androidApp/src/main/java/mx/trackermap/TrackerMap/android/map
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2022-01-16 18:56:00 -0600
committerIván Ávalos <avalos@disroot.org>2022-01-16 18:56:00 -0600
commit62bd831586fee041a830366c97b07d2cdb52a1b6 (patch)
treea6a2fe6af07009dea1bc5f4b8351e696e719f208 /androidApp/src/main/java/mx/trackermap/TrackerMap/android/map
parentf133dc96d4072c3bf4f9794b000b1e0ab946f96b (diff)
downloadetbsa-trackermap-mobile-62bd831586fee041a830366c97b07d2cdb52a1b6.tar.gz
etbsa-trackermap-mobile-62bd831586fee041a830366c97b07d2cdb52a1b6.tar.bz2
etbsa-trackermap-mobile-62bd831586fee041a830366c97b07d2cdb52a1b6.zip
Added device category icon to unit information and commands views
Diffstat (limited to 'androidApp/src/main/java/mx/trackermap/TrackerMap/android/map')
-rw-r--r--androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/UnitMapFragment.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/UnitMapFragment.kt b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/UnitMapFragment.kt
index 6ea5f82..90ee36a 100644
--- a/androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/UnitMapFragment.kt
+++ b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/UnitMapFragment.kt
@@ -127,6 +127,7 @@ class UnitMapFragment(private val unitsViewModel: UnitsViewModel) : UnitFragment
val intent = Intent(activity.applicationContext, DetailsActivity::class.java)
intent.putExtra(DetailsActivity.DEVICE_ID_EXTRA, unit.device.id)
intent.putExtra(DetailsActivity.DEVICE_NAME_EXTRA, unit.device.name)
+ intent.putExtra(DetailsActivity.DEVICE_CATEGORY_EXTRA, unit.device.category)
intent.putExtra(DetailsActivity.ACTION_EXTRA, action)
startActivity(intent)
}