new: snippet fmt

This commit is contained in:
lollipopkit
2024-01-21 17:42:43 +08:00
parent 07cc0a22e8
commit 7414dcc8da
28 changed files with 229 additions and 178 deletions

View File

@@ -206,7 +206,8 @@ class BackupPage extends StatelessWidget {
try {
context.showLoadingDialog();
final backup = await Computer.shared.start(Backup.fromJsonString, text.trim());
final backup =
await Computer.shared.start(Backup.fromJsonString, text.trim());
if (backupFormatVersion != backup.version) {
context.showSnackBar(l10n.backupVersionNotMatch);
return;