fix webdav init block main thread
This commit is contained in:
@@ -107,7 +107,9 @@ object ReadBook : CoroutineScope by MainScope() {
|
||||
|
||||
fun uploadProgress() {
|
||||
book?.let {
|
||||
AppWebDav.uploadBookProgress(it)
|
||||
Coroutine.async {
|
||||
AppWebDav.uploadBookProgress(it)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user