优化
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user