This commit is contained in:
Horis
2024-12-15 18:02:06 +08:00
parent 5b0c4acb5d
commit 35d2a2c73a
@@ -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)
}