properly reset all items after closing a mimetype search
This commit is contained in:
parent
28401e5577
commit
da6012202c
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue