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) }