From 9d9f9b452f82a188f20e3cb14466dc496564543b Mon Sep 17 00:00:00 2001 From: gedoor Date: Wed, 5 Jan 2022 22:03:49 +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 --- .../main/java/io/legado/app/api/controller/BookController.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/api/controller/BookController.kt b/app/src/main/java/io/legado/app/api/controller/BookController.kt index eba0c33b9..0fc2f7c01 100644 --- a/app/src/main/java/io/legado/app/api/controller/BookController.kt +++ b/app/src/main/java/io/legado/app/api/controller/BookController.kt @@ -181,7 +181,8 @@ object BookController { if (ReadBook.book?.bookUrl == book.bookUrl) { ReadBook.book = book ReadBook.durChapterIndex = index - ReadBook.loadContent(index) + ReadBook.clearTextChapter() + ReadBook.loadContent(true) } }