Adjust missing chapters UI
(cherry picked from commit 1ff78173f71f838e57052557eb9e1c6fe3a402f1)
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