mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-03-25 08:38:45 +00:00
desktop swap navigation fix
This commit is contained in:
parent
fc180dd8c1
commit
65879670ad
1 changed files with 4 additions and 6 deletions
|
@ -147,17 +147,15 @@ class _ConfirmChangeNowSendViewState
|
||||||
);
|
);
|
||||||
|
|
||||||
// pop back to wallet
|
// pop back to wallet
|
||||||
if (mounted) {
|
if (context.mounted) {
|
||||||
if (Util.isDesktop) {
|
if (Util.isDesktop) {
|
||||||
|
// pop sending dialog
|
||||||
Navigator.of(context, rootNavigator: true).pop();
|
Navigator.of(context, rootNavigator: true).pop();
|
||||||
|
|
||||||
// stupid hack
|
// one day we'll do routing right
|
||||||
|
Navigator.of(context, rootNavigator: true).pop();
|
||||||
if (widget.fromDesktopStep4) {
|
if (widget.fromDesktopStep4) {
|
||||||
Navigator.of(context, rootNavigator: true).pop();
|
Navigator.of(context, rootNavigator: true).pop();
|
||||||
Navigator.of(context, rootNavigator: true).pop();
|
|
||||||
Navigator.of(context, rootNavigator: true).pop();
|
|
||||||
Navigator.of(context, rootNavigator: true).pop();
|
|
||||||
Navigator.of(context, rootNavigator: true).pop();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue