fix webdav init block main thread

This commit is contained in:
821938089 committed 2022-07-11 10:45:16 +08:00
1 parent c5a3241bc9
commit fbecc2333e
1 file changed
+2
@@ -107,9 +107,11 @@ object ReadBook : CoroutineScope by MainScope() {
fun uploadProgress() { fun uploadProgress() {
book?.let { book?.let {
Coroutine.async {
AppWebDav.uploadBookProgress(it) AppWebDav.uploadBookProgress(it)
} }
} }
}
fun upReadTime() { fun upReadTime() {
Coroutine.async { Coroutine.async {