优化
This commit is contained in:
1 parent
11f65412c6
commit
ba03572217
1 file changed
+1
-1
@@ -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