This commit is contained in:
Horis committed 2023-01-09 13:25:34 +08:00
1 parent fb92d02fb2
commit 80a8c1dc28
3 files changed
+7 -3

No files matched your search

@@ -333,7 +333,7 @@ class BackupConfigFragment : PreferenceFragment(),
AppLog.put("恢复备份出错WebDavError\n${it.localizedMessage}", it)
alert {
setTitle(R.string.restore)
setMessage("WebDavError\n${it.localizedMessage}\n将从本地备份恢复。")
setMessage("WebDavError\n${it.localizedMessage}\n将从本地备份恢复。\n从WebDav手动下载备份文件需要解压才能恢复。")
okButton {
restoreFromLocal()
}
@@ -45,7 +45,7 @@ fun Element.findNS(tag: String, namespace: HashSet<String>): Elements {
}
fun Element.findNSPrefix(namespaceURI: String): HashSet<String> {
return select("[^xmlns]").map { element ->
return select("[^xmlns:]").map { element ->
element.attributes().filter { it.value == namespaceURI }.map { it.key.substring(6) }
}.flatten().toHashSet()
}