aboutsummaryrefslogtreecommitdiff
path: root/androidApp/src/main
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2022-01-17 23:53:25 -0600
committerIván Ávalos <avalos@disroot.org>2022-01-17 23:53:25 -0600
commit31af6d69a7bb8a513a7bb9b1633cc015088384d3 (patch)
tree54a482e403aaaf6eabff5c7258ef0d5037f8978b /androidApp/src/main
parent675eb2739105e53a8f5f0f602b3c2b2206d28623 (diff)
downloadetbsa-trackermap-mobile-31af6d69a7bb8a513a7bb9b1633cc015088384d3.tar.gz
etbsa-trackermap-mobile-31af6d69a7bb8a513a7bb9b1633cc015088384d3.tar.bz2
etbsa-trackermap-mobile-31af6d69a7bb8a513a7bb9b1633cc015088384d3.zip
Branded merge
Diffstat (limited to 'androidApp/src/main')
-rw-r--r--androidApp/src/main/java/mx/trackermap/TrackerMap/android/shared/Utils.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/androidApp/src/main/java/mx/trackermap/TrackerMap/android/shared/Utils.kt b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/shared/Utils.kt
index 56a9167..004bcaa 100644
--- a/androidApp/src/main/java/mx/trackermap/TrackerMap/android/shared/Utils.kt
+++ b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/shared/Utils.kt
@@ -14,7 +14,8 @@ class Utils {
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
}
callback(layer)