瀏覽代碼

Use recognized chapter number boolean field for filter

arkon 5 年之前
父節點
當前提交
63e330b83d
共有 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

@@ -569,7 +569,7 @@ class LibraryUpdateService(
                 .apply { decimalSeparator = '.' })
 
         val displayableChapterNumbers = chapters
-                .filter { it.chapter_number >= 0 }
+                .filter { it.isRecognizedNumber }
                 .sortedBy { it.chapter_number }
                 .map { formatter.format(it.chapter_number) }
                 .toSet()