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