aboutsummaryrefslogtreecommitdiff
path: root/androidApp/src/main/java/mx/trackermap/TrackerMap/android/units
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2022-01-15 20:09:24 -0600
committerIván Ávalos <avalos@disroot.org>2022-01-15 20:09:24 -0600
commit72c7bedaab6958b4fb3c53ae7c2d5e233181933c (patch)
tree4919b09f9c929fd14b54b5874152c1fa87bc1914 /androidApp/src/main/java/mx/trackermap/TrackerMap/android/units
parentd2ab18cc01d2717bf46a378406ed1402381b3a40 (diff)
parent6aa78c8ddbcdeaace0f4596e7c717dafef036f03 (diff)
downloadetbsa-trackermap-mobile-72c7bedaab6958b4fb3c53ae7c2d5e233181933c.tar.gz
etbsa-trackermap-mobile-72c7bedaab6958b4fb3c53ae7c2d5e233181933c.tar.bz2
etbsa-trackermap-mobile-72c7bedaab6958b4fb3c53ae7c2d5e233181933c.zip
Merge branch 'main' of https://git.sr.ht/~avalos/trackermap-mobile
 Conflicts:  androidApp/src/main/res/layout/user_information_activity.xml
Diffstat (limited to 'androidApp/src/main/java/mx/trackermap/TrackerMap/android/units')
-rw-r--r--androidApp/src/main/java/mx/trackermap/TrackerMap/android/units/UnitsViewModel.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/androidApp/src/main/java/mx/trackermap/TrackerMap/android/units/UnitsViewModel.kt b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/units/UnitsViewModel.kt
index 6a04cf4..08d35a2 100644
--- a/androidApp/src/main/java/mx/trackermap/TrackerMap/android/units/UnitsViewModel.kt
+++ b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/units/UnitsViewModel.kt
@@ -27,7 +27,7 @@ class UnitsViewModel(
private val geofenceController: GeofencesController by inject()
private var _searchQuery = savedStateHandle.getLiveData("searchQuery", "")
- private var _unitsDisplayMode = MutableLiveData(UnitsDisplayMode.LIST)
+ private var _unitsDisplayMode = MutableLiveData(UnitsDisplayMode.MAP)
private var _units = MutableLiveData<List<UnitInformation>>()
private var _selectedUnit = MutableLiveData<UnitInformation?>()
private var _mapTileInfo = MutableLiveData<TileInfoNew>()