Give "Complete" status only to fully completed Manga

Up until now a progress of >= 99.5% would count a Manga as completed (and show the checkmark icon). This causes manga with 200 chapters or more to be marked as completed even if they have at least one unread chapter.

https://github.com/KotatsuApp/Kotatsu/issues/1105
master
Marius Albrecht 2 years ago committed by Koitharu
parent 3d285104a4
commit b6f57e5656

@ -38,7 +38,7 @@ data class ReadingProgress(
companion object {
const val PROGRESS_NONE = -1f
const val PROGRESS_COMPLETED = 0.995f
const val PROGRESS_COMPLETED = 1f
fun isValid(percent: Float) = percent in 0f..1f

Loading…
Cancel
Save