aboutsummaryrefslogtreecommitdiff
path: root/androidApp/src/main/java/mx/trackermap/TrackerMap/android/devices
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2022-06-08 23:14:35 -0500
committerIván Ávalos <avalos@disroot.org>2022-06-08 23:14:35 -0500
commitd7790a50599f94422df6851d240e3993fb71aab7 (patch)
tree292d603264017b5e11644e77b4ef137f27eb77d0 /androidApp/src/main/java/mx/trackermap/TrackerMap/android/devices
parentfc3e2a6e316cb8acd6aac0553c92f9dbc6b669b4 (diff)
parentec157026deea7b72ff233a20c0ed40fa548f75d6 (diff)
downloadetbsa-trackermap-mobile-d7790a50599f94422df6851d240e3993fb71aab7.tar.gz
etbsa-trackermap-mobile-d7790a50599f94422df6851d240e3993fb71aab7.tar.bz2
etbsa-trackermap-mobile-d7790a50599f94422df6851d240e3993fb71aab7.zip
Merge branch 'main' of https://git.sr.ht/~avalos/trackermap-mobile
Diffstat (limited to 'androidApp/src/main/java/mx/trackermap/TrackerMap/android/devices')
-rw-r--r--androidApp/src/main/java/mx/trackermap/TrackerMap/android/devices/DevicesFragment.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/androidApp/src/main/java/mx/trackermap/TrackerMap/android/devices/DevicesFragment.kt b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/devices/DevicesFragment.kt
index e5143cb..6e1b1c6 100644
--- a/androidApp/src/main/java/mx/trackermap/TrackerMap/android/devices/DevicesFragment.kt
+++ b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/devices/DevicesFragment.kt
@@ -90,7 +90,7 @@ class DevicesFragment : Fragment() {
@DelicateCoroutinesApi
private fun setupObservers() {
Log.d("DevicesFragment", "setupObservers()")
- unitsViewModel.units.observe(viewLifecycleOwner) { units ->
+ unitsViewModel.displayedUnits.observe(viewLifecycleOwner) { units ->
Log.d("DevicesFragment", "Success $units")
binding.infoLoading.root.visibility = View.GONE
(binding.devicesList.adapter as DevicesAdapter).setData(units)