|
@@ -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 {
|