fix: sync

This commit is contained in:
lollipopkit
2024-06-02 16:04:45 +08:00
parent a0c6642230
commit 76c4bf56fa
5 changed files with 5 additions and 5 deletions

View File

@@ -201,7 +201,6 @@ abstract final class ICloud {
static Future<void> sync() async {
final result = await download(relativePath: Miscs.bakFileName);
if (result != null) {
_logger.warning('Download backup failed: $result');
await backup();
return;
}

View File

@@ -99,7 +99,6 @@ abstract final class Webdav {
static Future<void> sync() async {
final result = await download(relativePath: Miscs.bakFileName);
if (result != null) {
_logger.warning('Download failed: $result');
await backup();
return;
}