Merge pull request #2060 from 821938089/fix-main-thread-block-bug

修复webDav初始化时可能会阻塞主线程的bug
pull/2062/head
kunfei 2 years ago committed by GitHub
commit f441dae227
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      app/src/main/java/io/legado/app/model/ReadBook.kt

@ -107,7 +107,9 @@ object ReadBook : CoroutineScope by MainScope() {
fun uploadProgress() {
book?.let {
AppWebDav.uploadBookProgress(it)
Coroutine.async {
AppWebDav.uploadBookProgress(it)
}
}
}

Loading…
Cancel
Save