This commit is contained in:
julian 2022-12-31 12:01:00 -06:00
parent 7163d95cc4
commit ab3ff76f3a

View file

@ -138,7 +138,7 @@ class _ExchangeFormState extends ConsumerState<ExchangeForm> {
);
await Future<void>.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 ?? "";