diff --git a/app/src/main/java/io/legado/app/ui/bookinfo/BookInfoViewModel.kt b/app/src/main/java/io/legado/app/ui/bookinfo/BookInfoViewModel.kt index 21a1b83ca..5b99563e8 100644 --- a/app/src/main/java/io/legado/app/ui/bookinfo/BookInfoViewModel.kt +++ b/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) }