diff --git a/lib/pages/exchange_view/exchange_form.dart b/lib/pages/exchange_view/exchange_form.dart index 93f7557b7..7f1022076 100644 --- a/lib/pages/exchange_view/exchange_form.dart +++ b/lib/pages/exchange_view/exchange_form.dart @@ -138,7 +138,7 @@ class _ExchangeFormState extends ConsumerState { ); await Future.delayed(const Duration(milliseconds: 300)); - Navigator.of(context).pop(); + Navigator.of(context, rootNavigator: true).pop(); } else { final toTicker = ref.read(exchangeFormStateProvider).toTicker ?? ""; final fromTicker = ref.read(exchangeFormStateProvider).fromTicker ?? "";