From 7aeacfd3084cd9b59f9528a55680d774c75d964f Mon Sep 17 00:00:00 2001 From: gedoor Date: Sat, 23 Oct 2021 21:26:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/io/legado/app/help/storage/AppWebDav.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/help/storage/AppWebDav.kt b/app/src/main/java/io/legado/app/help/storage/AppWebDav.kt index ca254b371..1fc779247 100644 --- a/app/src/main/java/io/legado/app/help/storage/AppWebDav.kt +++ b/app/src/main/java/io/legado/app/help/storage/AppWebDav.kt @@ -29,7 +29,7 @@ object AppWebDav { private val rootWebDavUrl: String get() { - var url = appCtx.getPrefString(PreferKey.webDavUrl) + var url = appCtx.getPrefString(PreferKey.webDavUrl)?.trim() if (url.isNullOrEmpty()) { url = defaultWebDavUrl }