fix webdav init block main thread

pull/2060/head
821938089 2 years ago
parent 740404120a
commit b24f913e37
  1. 4
      app/src/main/java/io/legado/app/model/ReadBook.kt

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

Loading…
Cancel
Save