mirror of
https://github.com/gedoor/legado.git
synced 2024-08-30 09:23:26 +08:00
优化
This commit is contained in:
parent
5d2395a52f
commit
0962747d78
@ -120,6 +120,7 @@ class ReadBookViewModel(application: Application) : BaseViewModel(application) {
|
||||
if (book.isLocalBook()) {
|
||||
execute {
|
||||
LocalBook.getChapterList(book).let {
|
||||
book.latestChapterTime = System.currentTimeMillis()
|
||||
appDb.bookChapterDao.delByBook(book.bookUrl)
|
||||
appDb.bookChapterDao.insert(*it.toTypedArray())
|
||||
appDb.bookDao.update(book)
|
||||
|
Loading…
Reference in New Issue
Block a user