From 1a5fa9143cd4ab22999f586c492b782ccdd39d06 Mon Sep 17 00:00:00 2001 From: Horis <8674809+821938089@users.noreply.github.com> Date: Sun, 15 Dec 2024 18:02:06 +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/help/book/BookHelp.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/help/book/BookHelp.kt b/app/src/main/java/io/legado/app/help/book/BookHelp.kt index c3caa36cf..39833a136 100644 --- a/app/src/main/java/io/legado/app/help/book/BookHelp.kt +++ b/app/src/main/java/io/legado/app/help/book/BookHelp.kt @@ -148,7 +148,7 @@ object BookHelp { book.getFolderName(), bookChapter.getFileName(), ).writeText(content) - if (!book.isLocal) { + if (book.isOnLineTxt) { bookChapter.wordCount = StringUtils.wordCountFormat(content.length) appDb.bookChapterDao.update(bookChapter) }