From 20bbda78e6fff4110f66c7b881fb02b8d6431172 Mon Sep 17 00:00:00 2001 From: arkon Date: Sun, 18 Sep 2022 18:09:26 -0400 Subject: [PATCH] Fix library search not being reflected (fixes #8031) --- .../java/eu/kanade/tachiyomi/ui/library/LibraryPresenter.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryPresenter.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryPresenter.kt index 4a0b2222e..1898fe730 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryPresenter.kt +++ b/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 {