fix webdav init block main thread
This commit is contained in:
1 parent
c5a3241bc9
commit
fbecc2333e
1 file changed
+3
-1
@@ -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)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user