pull/2468/head
kunfei 2 years ago
parent 1b93e895d3
commit 3ec4bef12a
  1. 4
      app/src/main/java/io/legado/app/ui/book/info/BookInfoActivity.kt

@ -515,8 +515,10 @@ class BookInfoActivity :
override fun coverChangeTo(coverUrl: String) { override fun coverChangeTo(coverUrl: String) {
viewModel.bookData.value?.let { book -> viewModel.bookData.value?.let { book ->
book.customCoverUrl = coverUrl book.customCoverUrl = coverUrl
viewModel.saveBook(book)
showCover(book) showCover(book)
if (viewModel.inBookshelf) {
viewModel.saveBook(book)
}
} }
} }

Loading…
Cancel
Save