fix #415, properly handle placeholder visibility at closing Search

This commit is contained in:
tibbi committed 2020-09-26 21:33:58 +02:00
1 parent 318e9444fc
commit 665b401aee
2 files changed
+7 -1

No files matched your search

+1 -1
View File
@@ -58,7 +58,7 @@ android {
}
dependencies {
implementation 'com.simplemobiletools:commons:5.30.5'
implementation 'com.simplemobiletools:commons:5.30.14'
implementation 'com.github.Stericson:RootTools:df729dcb13'
implementation 'com.github.Stericson:RootShell:1.6'
implementation 'com.alexvasilkov:gesture-views:2.5.2'
@@ -413,6 +413,12 @@ class ItemsFragment : Fragment(), ItemOperationsListener, Breadcrumbs.Breadcrumb
}
skipItemUpdating = false
lastSearchedText = ""
mView.apply {
items_list.beVisible()
items_placeholder.beGone()
items_placeholder_2.beGone()
}
}
private fun createNewItem() {