properly reset all items after closing a mimetype search

This commit is contained in:
tibbi 2022-02-09 22:20:08 +01:00
parent 28401e5577
commit da6012202c
1 changed files with 1 additions and 4 deletions

View File

@ -229,10 +229,7 @@ class MimeTypesActivity : SimpleActivity(), ItemOperationsListener {
fun searchClosed() {
isSearchOpen = false
lastSearchedText = ""
mimetypes_fastscroller.beVisible()
mimetypes_placeholder.beGoneIf(storedItems.isNotEmpty())
mimetypes_placeholder_2.beGone()
searchQueryChanged("")
}
private fun getProperFileDirItems(callback: (ArrayList<FileDirItem>) -> Unit) {