From 03d567c12e7f43a5b910c01050442477a732e14d Mon Sep 17 00:00:00 2001 From: kunfei Date: Thu, 5 Sep 2019 19:01:26 +0800 Subject: [PATCH] up --- app/src/main/java/io/legado/app/ui/bookinfo/BookInfoViewModel.kt | 1 + 1 file changed, 1 insertion(+) 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) }