Fix global update category exclusion

(cherry picked from commit c1bdebee78)
This commit is contained in:
arkon
2021-04-04 18:09:07 -04:00
committed by Jobobby04
parent 03366ae7e5
commit f6b9867ce8
@@ -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()
}