|
|
|
@ -30,6 +30,7 @@ object SyncBookProgress { |
|
|
|
|
|
|
|
|
|
fun downloadBookProgress() { |
|
|
|
|
Coroutine.async { |
|
|
|
|
if (WebDavHelp.initWebDav()) { |
|
|
|
|
WebDav(webDavUrl).downloadTo(file.absolutePath, true) |
|
|
|
|
if (file.exists()) { |
|
|
|
|
val json = file.readText() |
|
|
|
@ -44,5 +45,6 @@ object SyncBookProgress { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |