瀏覽代碼

Fix global update category exclusion

arkon 4 年之前
父節點
當前提交
c1bdebee78
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateService.kt

+ 1 - 1
app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateService.kt

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