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 -> BookCover.searchCover(book)?.let { coverUrl ->
book.customCoverUrl = coverUrl book.customCoverUrl = coverUrl
bookData.postValue(book) bookData.postValue(book)
if (inBookshelf) {
saveBook(book) saveBook(book)
} }
} }
}
bookSource = if (book.isLocalBook()) { bookSource = if (book.isLocalBook()) {
null null
} else { } else {

Loading…
Cancel
Save