mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-03-12 09:27:01 +00:00
fix nav desktop nav error
This commit is contained in:
parent
7191e502db
commit
98a9804059
1 changed files with 3 additions and 3 deletions
|
@ -111,7 +111,7 @@ class _BuyFormState extends ConsumerState<BuyForm> {
|
|||
await _loadSimplexCurrencies();
|
||||
shouldPop = true;
|
||||
if (mounted) {
|
||||
Navigator.of(context).pop();
|
||||
Navigator.of(context, rootNavigator: isDesktop).pop();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -215,7 +215,7 @@ class _BuyFormState extends ConsumerState<BuyForm> {
|
|||
await _loadSimplexCurrencies();
|
||||
shouldPop = true;
|
||||
if (mounted) {
|
||||
Navigator.of(context).pop();
|
||||
Navigator.of(context, rootNavigator: isDesktop).pop();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -366,7 +366,7 @@ class _BuyFormState extends ConsumerState<BuyForm> {
|
|||
await _loadQuote(quote);
|
||||
shouldPop = true;
|
||||
if (mounted) {
|
||||
Navigator.of(context).pop();
|
||||
Navigator.of(context, rootNavigator: isDesktop).pop();
|
||||
}
|
||||
// }
|
||||
|
||||
|
|
Loading…
Reference in a new issue