Skip to content

Commit

Permalink
orgzly#38 WebDAV sync support
Browse files Browse the repository at this point in the history
Bug with http(s) urls fixed
  • Loading branch information
bemyak committed Sep 11, 2019
1 parent 866f280 commit 6478c8e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,9 @@ class WebdavRepoActivity : CommonActivity() {
return binding.activityRepoWebdavUrl.text.toString().trim { it <= ' ' }.let {
if (it.startsWith("http")) {
it.replaceFirst("http", "webdav")
} else {
it
}
it
}
}

Expand Down

0 comments on commit 6478c8e

Please sign in to comment.