pull/32/head
kunfei 5 years ago
parent 701932c555
commit 03d567c12e
  1. 1
      app/src/main/java/io/legado/app/ui/bookinfo/BookInfoViewModel.kt

@ -59,6 +59,7 @@ class BookInfoViewModel(application: Application) : BaseViewModel(application) {
WebBook(bookSource).getBookInfo(book, this)
.onSuccess(IO) {
it?.let {
bookData.postValue(book)
if (inBookshelf) {
App.db.bookDao().update(book)
}

Loading…
Cancel
Save