From 18e73db3f1938fd9d184165ff145e93bc7bb8de3 Mon Sep 17 00:00:00 2001 From: kunfei Date: Thu, 3 Feb 2022 09:32:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=90=8C=E6=AD=A5bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/io/legado/app/model/ReadBook.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) ) {