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

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

Loading…
Cancel
Save