pull/1732/head
kunfei 3 years ago
parent 0f24233f52
commit cd289e6c2a
  1. 8
      app/src/main/java/io/legado/app/ui/book/changesource/ChangeBookSourceViewModel.kt

@ -163,9 +163,11 @@ open class ChangeBookSourceViewModel(application: Application) : BaseViewModel(a
} }
} }
} }
} }.timeout(60000L)
.timeout(60000L) .onError {
.onFinally { nextSearch()
}
.onSuccess {
nextSearch() nextSearch()
} }
tasks.add(task) tasks.add(task)

Loading…
Cancel
Save