mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-21 20:47:03 -05:00
Use recognized chapter number boolean field for filter
This commit is contained in:
parent
164da0fd9f
commit
63e330b83d
1 changed files with 1 additions and 1 deletions
|
@ -569,7 +569,7 @@ class LibraryUpdateService(
|
||||||
.apply { decimalSeparator = '.' })
|
.apply { decimalSeparator = '.' })
|
||||||
|
|
||||||
val displayableChapterNumbers = chapters
|
val displayableChapterNumbers = chapters
|
||||||
.filter { it.chapter_number >= 0 }
|
.filter { it.isRecognizedNumber }
|
||||||
.sortedBy { it.chapter_number }
|
.sortedBy { it.chapter_number }
|
||||||
.map { formatter.format(it.chapter_number) }
|
.map { formatter.format(it.chapter_number) }
|
||||||
.toSet()
|
.toSet()
|
||||||
|
|
Loading…
Reference in a new issue