mirror of
https://github.com/mihonapp/mihon.git
synced 2025-06-25 10:37:51 +02:00
Adjust missing chapters UI
This commit is contained in:
@ -14,7 +14,7 @@ fun countMissingChapters(chaptersInput: List<Float>): Int? {
|
||||
.map { floor(it.toDouble()).toInt() }
|
||||
// Only keep unique chapters so that -1 or 16 are not counted multiple times
|
||||
.distinct()
|
||||
.sortedBy { it }
|
||||
.sorted()
|
||||
|
||||
if (chapters.isEmpty()) {
|
||||
return null
|
||||
|
Reference in New Issue
Block a user