Browse Source

Fix library search not being reflected (fixes #8031)

arkon 2 years ago
parent
commit
20bbda78e6

+ 1 - 1
app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryPresenter.kt

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