feat: 优化代码

pull/133/head
kunfei 5 years ago
parent fe8420f4a2
commit d1b6060d58
  1. 4
      app/src/main/java/io/legado/app/help/storage/SyncBookProgress.kt

@ -27,7 +27,6 @@ object SyncBookProgress {
} }
} }
fun downloadBookProgress() { fun downloadBookProgress() {
Coroutine.async { Coroutine.async {
if (WebDavHelp.initWebDav()) { if (WebDavHelp.initWebDav()) {
@ -39,7 +38,8 @@ object SyncBookProgress {
it.bookUrl, it.bookUrl,
it.durChapterIndex, it.durChapterIndex,
it.durChapterPos, it.durChapterPos,
it.durChapterTime it.durChapterTime,
it.durChapterTitle
) )
} }
} }

Loading…
Cancel
Save