pull/34/head
kunfei 5 years ago
parent 975bd42526
commit a7325b1e12
  1. 2
      app/src/main/java/io/legado/app/help/storage/WebDavHelp.kt

@ -18,7 +18,7 @@ import kotlin.math.min
object WebDavHelp { object WebDavHelp {
private val zipFilePath = FileHelp.getCachePath() + "/backup" + ".zip" private val zipFilePath = FileHelp.getCachePath() + "/backup" + ".zip"
fun getWebDavUrl(): String? { private fun getWebDavUrl(): String? {
var url = App.INSTANCE.getPrefString("web_dav_url") var url = App.INSTANCE.getPrefString("web_dav_url")
if (url.isNullOrBlank()) return null if (url.isNullOrBlank()) return null
if (!url.endsWith("/")) url += "/" if (!url.endsWith("/")) url += "/"

Loading…
Cancel
Save