aboutsummaryrefslogtreecommitdiff
path: root/androidApp/src/main/java
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2022-01-13 19:37:33 -0600
committerIván Ávalos <avalos@disroot.org>2022-01-13 19:37:33 -0600
commit2417f926d9fb58bf99d5f4f7e6221390709e4899 (patch)
treec54ab8f739c7ba80d7d35dee0863ae780a2400f5 /androidApp/src/main/java
parent2ffc7cfef0ac9d40f3b97efd38a201cf43341dd7 (diff)
downloadetbsa-trackermap-mobile-2417f926d9fb58bf99d5f4f7e6221390709e4899.tar.gz
etbsa-trackermap-mobile-2417f926d9fb58bf99d5f4f7e6221390709e4899.tar.bz2
etbsa-trackermap-mobile-2417f926d9fb58bf99d5f4f7e6221390709e4899.zip
Clear search filter when selecting device in list
Diffstat (limited to 'androidApp/src/main/java')
-rw-r--r--androidApp/src/main/java/mx/trackermap/TrackerMap/android/units/UnitsActivity.kt2
1 files changed, 1 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 e73d3a8..acc2c7c 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
@@ -140,7 +140,7 @@ class UnitsActivity : AppCompatActivity() {
}
}
unitsViewModel.selectedUnit.observe(this) {
- unfocusSearch()
+ unfocusSearch(clearText = true)
}
}