Fix global update category exclusion

This commit is contained in:
arkon 2021-04-04 18:09:07 -04:00
parent ddd4cc10ff
commit c1bdebee78

View file

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