mirror of
https://github.com/gedoor/legado.git
synced 2024-09-01 09:34:25 +08:00
优化
This commit is contained in:
parent
a0a9068a18
commit
4bf92cd994
@ -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…
Reference in New Issue
Block a user