优化
This commit is contained in:
1 parent
9c3864a66e
commit
58bef8aef2
1 file changed
+2
@@ -136,6 +136,7 @@ object AppWebDav {
|
||||
}
|
||||
|
||||
suspend fun backUpWebDav(path: String) {
|
||||
if (!NetworkUtils.isAvailable()) return
|
||||
try {
|
||||
authorization?.let {
|
||||
val paths = arrayListOf(*Backup.backupFileNames)
|
||||
@@ -154,6 +155,7 @@ object AppWebDav {
|
||||
}
|
||||
|
||||
suspend fun exportWebDav(byteArray: ByteArray, fileName: String) {
|
||||
if (!NetworkUtils.isAvailable()) return
|
||||
try {
|
||||
authorization?.let {
|
||||
// 如果导出的本地文件存在,开始上传
|
||||
|
||||
Reference in new issue
Block a user