mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-07 11:17:25 +01:00
Use recognized chapter number boolean field for filter
This commit is contained in:
parent
164da0fd9f
commit
63e330b83d
@ -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 New Issue
Block a user