mirror of
https://github.com/gedoor/legado.git
synced 2024-08-30 09:23:26 +08:00
优化
This commit is contained in:
parent
2c2607c809
commit
f302fabfcf
@ -123,7 +123,7 @@ class BookInfoViewModel(application: Application) : BaseViewModel(application) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fun refreshBook(book: Book) {
|
fun refreshBook(book: Book) {
|
||||||
execute {
|
execute(executeContext = IO) {
|
||||||
if (book.isLocal) {
|
if (book.isLocal) {
|
||||||
book.tocUrl = ""
|
book.tocUrl = ""
|
||||||
book.getRemoteUrl()?.let {
|
book.getRemoteUrl()?.let {
|
||||||
|
Loading…
Reference in New Issue
Block a user