aboutsummaryrefslogtreecommitdiff
path: root/androidApp/src/main
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
commitfeef38c8d9befd5dbd53bea22725f7922138df2d (patch)
treec54ab8f739c7ba80d7d35dee0863ae780a2400f5 /androidApp/src/main
parent3e23bbc6b6fd51359a7af678246238fdd2da5aca (diff)
downloadetbsa-trackermap-mobile-feef38c8d9befd5dbd53bea22725f7922138df2d.tar.gz
etbsa-trackermap-mobile-feef38c8d9befd5dbd53bea22725f7922138df2d.tar.bz2
etbsa-trackermap-mobile-feef38c8d9befd5dbd53bea22725f7922138df2d.zip
Clear search filter when selecting device in list
Diffstat (limited to 'androidApp/src/main')
-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)
}
}