mirror of
https://github.com/gedoor/legado.git
synced 2025-08-10 00:52:30 +00:00
优化
This commit is contained in:
@@ -148,8 +148,10 @@ object BookHelp {
|
||||
book.getFolderName(),
|
||||
bookChapter.getFileName(),
|
||||
).writeText(content)
|
||||
bookChapter.wordCount = StringUtils.wordCountFormat(content.length)
|
||||
appDb.bookChapterDao.update(bookChapter)
|
||||
if (!book.isLocal) {
|
||||
bookChapter.wordCount = StringUtils.wordCountFormat(content.length)
|
||||
appDb.bookChapterDao.update(bookChapter)
|
||||
}
|
||||
}
|
||||
|
||||
suspend fun saveImages(
|
||||
|
||||
Reference in New Issue
Block a user