From 24b28d93a86cdcadb337e19ff40d8a73f005e257 Mon Sep 17 00:00:00 2001 From: Horis <8674809+821938089@users.noreply.github.com> Date: Fri, 7 Mar 2025 17:52:40 +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/ReadManga.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/model/ReadManga.kt b/app/src/main/java/io/legado/app/model/ReadManga.kt index 5fa902ec0..182857fcd 100644 --- a/app/src/main/java/io/legado/app/model/ReadManga.kt +++ b/app/src/main/java/io/legado/app/model/ReadManga.kt @@ -194,6 +194,7 @@ object ReadManga : CoroutineScope by MainScope() { } fun loadContent() { + clearMangaChapter() loadContent(durChapterIndex) loadContent(durChapterIndex - 1) loadContent(durChapterIndex + 1) @@ -213,7 +214,7 @@ object ReadManga : CoroutineScope by MainScope() { } } - fun loadContent(index: Int) { + private fun loadContent(index: Int) { if (addLoading(index)) { Coroutine.async { val book = book!!