pull/1705/head 3.22.030919
kunfei 3 years ago
parent a0a9068a18
commit 4bf92cd994
  1. 4
      app/src/main/java/io/legado/app/ui/book/info/BookInfoViewModel.kt

@ -77,7 +77,9 @@ class BookInfoViewModel(application: Application) : BaseViewModel(application) {
BookCover.searchCover(book)?.let { coverUrl ->
book.customCoverUrl = coverUrl
bookData.postValue(book)
saveBook(book)
if (inBookshelf) {
saveBook(book)
}
}
}
bookSource = if (book.isLocalBook()) {

Loading…
Cancel
Save