mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 07:14:28 +01:00
fix: sync
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user