diff options
author | Iván Ávalos <avalos@disroot.org> | 2022-01-16 19:19:03 -0600 |
---|---|---|
committer | Iván Ávalos <avalos@disroot.org> | 2022-01-16 19:19:03 -0600 |
commit | a822ae0996b13576be9dc7a9fc3b9c5acb0d90d3 (patch) | |
tree | cb34a4130954be3dc36d455fd7c22e771927f96e /androidApp/src/main/java/mx | |
parent | 3eb11df687c48110327e2fb1381e43cfd001c20a (diff) | |
download | etbsa-trackermap-mobile-a822ae0996b13576be9dc7a9fc3b9c5acb0d90d3.tar.gz etbsa-trackermap-mobile-a822ae0996b13576be9dc7a9fc3b9c5acb0d90d3.tar.bz2 etbsa-trackermap-mobile-a822ae0996b13576be9dc7a9fc3b9c5acb0d90d3.zip |
Hide device limit when <= 0, and show device unique ID on details view
Diffstat (limited to 'androidApp/src/main/java/mx')
-rw-r--r-- | androidApp/src/main/java/mx/trackermap/TrackerMap/android/details/information/UnitInformationFragment.kt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/androidApp/src/main/java/mx/trackermap/TrackerMap/android/details/information/UnitInformationFragment.kt b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/details/information/UnitInformationFragment.kt index 568bd6b..e75f475 100644 --- a/androidApp/src/main/java/mx/trackermap/TrackerMap/android/details/information/UnitInformationFragment.kt +++ b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/details/information/UnitInformationFragment.kt @@ -96,6 +96,9 @@ class UnitInformationFragment : Fragment() { unit.device.contact?.let { contact -> details.add(getString(R.string.unit_info_contact) to contact) } + unit.device.uniqueId?.let { uniqueId -> + details.add(getString(R.string.unit_info_uniqueid) to uniqueId) + } unit.position?.fixTime?.let { fixTime -> details.add(getString(R.string.unit_info_datetime) to Formatter.formatDate(fixTime)) } |