diff --git a/app/src/main/java/io/legado/app/ui/book/info/BookInfoViewModel.kt b/app/src/main/java/io/legado/app/ui/book/info/BookInfoViewModel.kt index 91e41d0b6..a7b146dab 100644 --- a/app/src/main/java/io/legado/app/ui/book/info/BookInfoViewModel.kt +++ b/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()) {