From a4c8e7ff8b5440531d621f9fd666411a72d93077 Mon Sep 17 00:00:00 2001 From: Horis <821938089@qq.com> Date: Tue, 21 Feb 2023 12:34:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= 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 48b7430ea..d5539a8d1 100644 --- a/app/src/main/java/io/legado/app/model/ReadBook.kt +++ b/app/src/main/java/io/legado/app/model/ReadBook.kt @@ -196,7 +196,7 @@ object ReadBook : CoroutineScope by MainScope() { toLast: Boolean = true ): Boolean { if (durChapterIndex > 0) { - durChapterPos = if (toLast) prevTextChapter?.lastReadLength ?: 0 else 0 + durChapterPos = if (toLast) prevTextChapter?.lastReadLength ?: Int.MAX_VALUE else 0 durChapterIndex-- nextTextChapter = curTextChapter curTextChapter = prevTextChapter