mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-21 20:47:03 -05:00
Fix global update category exclusion
This commit is contained in:
parent
ddd4cc10ff
commit
c1bdebee78
1 changed files with 1 additions and 1 deletions
|
@ -240,7 +240,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…
Reference in a new issue