mirror of
https://github.com/gedoor/legado.git
synced 2025-08-10 00:52:30 +00:00
优化
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user