aboutsummaryrefslogtreecommitdiff
path: root/androidApp/src/main/java/mx
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2022-01-17 01:11:04 -0600
committerIván Ávalos <avalos@disroot.org>2022-01-17 01:11:04 -0600
commitc8d423b0933b21c9e16475f9bf89160fc8861825 (patch)
tree250cb5ebda41c42ec8ca0e89d3623b14b117f021 /androidApp/src/main/java/mx
parent70d21d0dab61fc2b30f64721279b27a2c8a01d7a (diff)
downloadetbsa-trackermap-mobile-c8d423b0933b21c9e16475f9bf89160fc8861825.tar.gz
etbsa-trackermap-mobile-c8d423b0933b21c9e16475f9bf89160fc8861825.tar.bz2
etbsa-trackermap-mobile-c8d423b0933b21c9e16475f9bf89160fc8861825.zip
Branded merge
Diffstat (limited to 'androidApp/src/main/java/mx')
-rw-r--r--androidApp/src/main/java/mx/trackermap/TrackerMap/android/units/UnitsActivity.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/androidApp/src/main/java/mx/trackermap/TrackerMap/android/units/UnitsActivity.kt b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/units/UnitsActivity.kt
index e9b9010..475575e 100644
--- a/androidApp/src/main/java/mx/trackermap/TrackerMap/android/units/UnitsActivity.kt
+++ b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/units/UnitsActivity.kt
@@ -96,7 +96,8 @@ class UnitsActivity : AppCompatActivity() {
popOver.setOnMenuItemClickListener { item ->
val layer = when (item.itemId) {
R.id.layerStreets -> MapLayer.Type.STREETS
- R.id.layerSatellite -> MapLayer.Type.SATELLITE
+ R.id.layerGmapsStreets -> MapLayer.Type.GMAPS_STREETS
+ R.id.layerGmapsSatellite -> MapLayer.Type.GMAPS_SATELLITE
else -> MapLayer.Type.STREETS
}
unitsViewModel.setMapLayerType(layer)