Fix global update category exclusion
(cherry picked from commit c1bdebee781565e628be71cda5e80a8f3ca02b43)
This commit is contained in:
parent
03366ae7e5
commit
f6b9867ce8
@ -285,7 +285,7 @@ class LibraryUpdateService(
|
|||||||
|
|
||||||
val categoriesToExclude = preferences.libraryUpdateCategoriesExclude().get().map(String::toInt)
|
val categoriesToExclude = preferences.libraryUpdateCategoriesExclude().get().map(String::toInt)
|
||||||
val listToExclude = if (categoriesToExclude.isNotEmpty()) {
|
val listToExclude = if (categoriesToExclude.isNotEmpty()) {
|
||||||
listToInclude.filter { it.category in categoriesToExclude }
|
libraryManga.filter { it.category in categoriesToExclude }
|
||||||
} else {
|
} else {
|
||||||
emptyList()
|
emptyList()
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user