mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
fix searching in library when no items are found
This commit is contained in:
parent
d6dccfd41b
commit
955277c4ae
1 changed files with 1 additions and 1 deletions
|
@ -1280,7 +1280,7 @@ class LibraryController(
|
|||
adapter.removeAllScrollableHeaders()
|
||||
}
|
||||
adapter.setFilter(query)
|
||||
if (adapter.itemCount == 0) return true
|
||||
if (presenter.allLibraryItems.isEmpty()) return true
|
||||
viewScope.launchUI {
|
||||
adapter.performFilterAsync()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue