Make option to mark duplicate chapter as read apply when reading (#1839)

This commit is contained in:
AntsyLich
2025-03-09 12:37:14 +06:00
committed by GitHub
parent 4f06c1cc09
commit 22b5fb58ff
9 changed files with 30 additions and 11 deletions
@@ -27,6 +27,9 @@ interface Chapter : SChapter, Serializable {
var version: Long
}
val Chapter.isRecognizedNumber: Boolean
get() = chapter_number >= 0f
fun Chapter.toDomainChapter(): DomainChapter? {
if (id == null || manga_id == null) return null
return DomainChapter(