pull/1814/head
kunfei 3 years ago
parent 186b8b4da3
commit 992ee9b22d
  1. 4
      app/src/main/java/io/legado/app/help/storage/AppWebDav.kt

@ -66,7 +66,9 @@ object AppWebDav {
val password = appCtx.getPrefString(PreferKey.webDavPassword)
if (!account.isNullOrBlank() && !password.isNullOrBlank()) {
HttpAuth.auth = HttpAuth.Auth(account, password)
isOk = WebDav(rootWebDavUrl).makeAsDir() && WebDav(bookProgressUrl).makeAsDir()
WebDav(rootWebDavUrl).makeAsDir()
WebDav(bookProgressUrl).makeAsDir()
isOk = true
}
}
}

Loading…
Cancel
Save