This commit is contained in:
Horis 2024-12-15 18:02:06 +08:00
parent 219e58ea26
commit 1a5fa9143c

View File

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