opt.: icloud sync (#187)

This commit is contained in:
lollipopkit
2023-12-04 10:44:51 +08:00
parent 5035fdce86
commit 3524d92013
9 changed files with 73 additions and 11 deletions

View File

@@ -190,7 +190,8 @@ class BackupPage extends StatelessWidget {
),
TextButton(
onPressed: () async {
await backup.restore();
/// TODO: add checkbox for not force restore
await backup.restore(force: true);
Pros.reload();
context.pop();
RebuildNodes.app.rebuild();