mirror of
https://github.com/gedoor/legado.git
synced 2025-01-07 03:06:58 +08:00
优化
This commit is contained in:
parent
d627e7452a
commit
ae4b362c9b
@ -182,6 +182,7 @@ class ReadBookViewModel(application: Application) : BaseViewModel(application) {
|
||||
appDb.bookDao.update(book)
|
||||
ReadBook.chapterSize = it.size
|
||||
ReadBook.simulatedChapterSize = book.simulatedTotalChapterNum()
|
||||
ReadBook.clearTextChapter()
|
||||
}
|
||||
return true
|
||||
}.onFailure {
|
||||
|
Loading…
Reference in New Issue
Block a user