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 | f5764a13e61af80c55f0b10ec0b06d3cbb296fc6 (patch) | |
tree | cb34a4130954be3dc36d455fd7c22e771927f96e /androidApp/src/main | |
parent | a687da7982d6582067aa9b1b0fe567a9f29ee06f (diff) | |
download | etbsa-trackermap-mobile-f5764a13e61af80c55f0b10ec0b06d3cbb296fc6.tar.gz etbsa-trackermap-mobile-f5764a13e61af80c55f0b10ec0b06d3cbb296fc6.tar.bz2 etbsa-trackermap-mobile-f5764a13e61af80c55f0b10ec0b06d3cbb296fc6.zip |
Hide device limit when <= 0, and show device unique ID on details view
Diffstat (limited to 'androidApp/src/main')
3 files changed, 5 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)) } diff --git a/androidApp/src/main/res/values-es-rMX/strings.xml b/androidApp/src/main/res/values-es-rMX/strings.xml index 835f342..6b2bd11 100644 --- a/androidApp/src/main/res/values-es-rMX/strings.xml +++ b/androidApp/src/main/res/values-es-rMX/strings.xml @@ -66,6 +66,7 @@ <!-- Unit Information --> <string name="unit_info_contact">Contacto</string> + <string name="unit_info_uniqueid">ID único</string> <string name="unit_info_speed">Velocidad</string> <string name="unit_info_address">Dirección</string> <string name="unit_info_latitude">Latitud</string> diff --git a/androidApp/src/main/res/values/strings.xml b/androidApp/src/main/res/values/strings.xml index 62963fa..31c0ed4 100644 --- a/androidApp/src/main/res/values/strings.xml +++ b/androidApp/src/main/res/values/strings.xml @@ -79,6 +79,7 @@ <!-- Unit Information --> <string name="unit_info_contact">Contact</string> + <string name="unit_info_uniqueid">Unique ID</string> <string name="unit_info_speed">Speed</string> <string name="unit_info_address">Address</string> <string name="unit_info_latitude">Latitude</string> |