new: vnc (beta #227)

This commit is contained in:
lollipopkit
2023-12-03 14:16:07 +08:00
parent 7c2480f027
commit 5035fdce86
6 changed files with 144 additions and 0 deletions

View File

@@ -113,6 +113,10 @@ class BackupPage extends StatelessWidget {
TextButton(
onPressed: () async {
icloudLoading.value = true;
final files = await PersistentStore.getFileNames();
for (final file in files) {
await ICloud.download(relativePath: file);
}
icloudLoading.value = false;
},
child: Text(l10n.download),
@@ -121,6 +125,10 @@ class BackupPage extends StatelessWidget {
TextButton(
onPressed: () async {
icloudLoading.value = true;
final files = await PersistentStore.getFileNames();
for (final file in files) {
await ICloud.upload(relativePath: file);
}
icloudLoading.value = false;
},
child: Text(l10n.upload),