This commit is contained in:
Horis
2024-08-29 22:19:51 +08:00
parent d627e7452a
commit ae4b362c9b
@@ -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 {