This commit is contained in:
Horis committed 2024-08-29 22:19:51 +08:00
1 parent bf2857aa5b
commit 1947f18c52
1 file changed
+1
@@ -182,6 +182,7 @@ class ReadBookViewModel(application: Application) : BaseViewModel(application) {
appDb.bookDao.update(book) appDb.bookDao.update(book)
ReadBook.chapterSize = it.size ReadBook.chapterSize = it.size
ReadBook.simulatedChapterSize = book.simulatedTotalChapterNum() ReadBook.simulatedChapterSize = book.simulatedTotalChapterNum()
ReadBook.clearTextChapter()
} }
return true return true
}.onFailure { }.onFailure {