mirror of
https://github.com/kodjodevf/mangayomi.git
synced 2026-01-11 22:40:36 +00:00
fix: improve error handling for backup restoration
This commit is contained in:
parent
adcde15d0e
commit
c2a1e5ee17
1 changed files with 4 additions and 2 deletions
|
|
@ -238,8 +238,10 @@ class DataAndStorage extends ConsumerWidget {
|
|||
}
|
||||
if (!context.mounted) return;
|
||||
Navigator.pop(context);
|
||||
} catch (_) {
|
||||
botToast("Error");
|
||||
} catch (e) {
|
||||
botToast(
|
||||
"Error restoring backup: $e",
|
||||
);
|
||||
Navigator.pop(context);
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue