mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-07 03:07: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 = '.' })
|
||||
|
||||
val displayableChapterNumbers = chapters
|
||||
.filter { it.chapter_number >= 0 }
|
||||
.filter { it.isRecognizedNumber }
|
||||
.sortedBy { it.chapter_number }
|
||||
.map { formatter.format(it.chapter_number) }
|
||||
.toSet()
|
||||
|
Loading…
Reference in New Issue
Block a user