From c1bdebee781565e628be71cda5e80a8f3ca02b43 Mon Sep 17 00:00:00 2001 From: arkon Date: Sun, 4 Apr 2021 18:09:07 -0400 Subject: [PATCH] Fix global update category exclusion --- .../eu/kanade/tachiyomi/data/library/LibraryUpdateService.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateService.kt b/app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateService.kt index 73c3fe763..e6215e4c8 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateService.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateService.kt @@ -240,7 +240,7 @@ class LibraryUpdateService( val categoriesToExclude = preferences.libraryUpdateCategoriesExclude().get().map(String::toInt) val listToExclude = if (categoriesToExclude.isNotEmpty()) { - listToInclude.filter { it.category in categoriesToExclude } + libraryManga.filter { it.category in categoriesToExclude } } else { emptyList() }