Fix library search not being reflected (fixes #8031)

This commit is contained in:
arkon 2022-09-18 18:09:26 -04:00
parent 0225711f6f
commit 20bbda78e6

View File

@ -645,7 +645,7 @@ class LibraryPresenter(
val categoryId = categories.getOrNull(page)?.id ?: -1 val categoryId = categories.getOrNull(page)?.id ?: -1
loadedManga[categoryId] ?: emptyList() loadedManga[categoryId] ?: emptyList()
} }
return remember(unfiltered) { return remember(unfiltered, searchQuery) {
val query = searchQuery val query = searchQuery
if (query.isNullOrBlank().not()) { if (query.isNullOrBlank().not()) {
unfiltered.filter { unfiltered.filter {