Fix global update category exclusion

(cherry picked from commit c1bdebee781565e628be71cda5e80a8f3ca02b43)
This commit is contained in:
arkon 2021-04-04 18:09:07 -04:00 committed by Jobobby04
parent 03366ae7e5
commit f6b9867ce8

View File

@ -285,7 +285,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()
}