fix #415, properly handle placeholder visibility at closing Search

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

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'

View File

@ -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() {