We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59a2eea commit 87eed85Copy full SHA for 87eed85
1 file changed
lib/pages/settings_views/global_settings_view/stack_backup_views/create_backup_view.dart
@@ -114,6 +114,7 @@ class _RestoreFromFileViewState extends ConsumerState<CreateBackupView> {
114
subMessage: "This shouldn't take long",
115
delay: const Duration(seconds: 1),
116
onException: (e) => ex = e,
117
+ rootNavigator: Util.isDesktop,
118
);
119
120
if (mounted) {
@@ -154,7 +155,10 @@ class _RestoreFromFileViewState extends ConsumerState<CreateBackupView> {
154
155
child: PrimaryButton(
156
label: "Ok",
157
buttonHeight: ButtonHeight.l,
- onPressed: Navigator.of(context).pop,
158
+ onPressed: Navigator.of(
159
+ context,
160
+ rootNavigator: true,
161
+ ).pop,
162
),
163
164
],
0 commit comments