desktop block explorer warning dialog navigation fix

This commit is contained in:
julian 2022-11-22 16:34:31 -06:00
parent 467d43d9f3
commit 4debb0fff9

View file

@ -266,7 +266,10 @@ class _TransactionDetailsViewState
buttonHeight: ButtonHeight.l,
label: "Cancel",
onPressed: () {
Navigator.of(context).pop(false);
Navigator.of(
context,
rootNavigator: true,
).pop(false);
},
),
const SizedBox(width: 20),
@ -275,7 +278,10 @@ class _TransactionDetailsViewState
buttonHeight: ButtonHeight.l,
label: "Continue",
onPressed: () {
Navigator.of(context).pop(true);
Navigator.of(
context,
rootNavigator: true,
).pop(true);
},
),
],