diff --git a/app/src/main/java/io/legado/app/model/ReadBook.kt b/app/src/main/java/io/legado/app/model/ReadBook.kt index 1b64f214c..5b1131f22 100644 --- a/app/src/main/java/io/legado/app/model/ReadBook.kt +++ b/app/src/main/java/io/legado/app/model/ReadBook.kt @@ -90,7 +90,7 @@ object ReadBook : CoroutineScope by MainScope() { } fun setProgress(progress: BookProgress) { - if (progress.durChapterIndex > chapterSize && + if (progress.durChapterIndex < chapterSize && (durChapterIndex != progress.durChapterIndex || durChapterPos != progress.durChapterPos) ) {