CAKE-184 | cleaned exchange screen when exchange confirm page was called

This commit is contained in:
OleksandrSobol 2020-11-19 18:48:09 +02:00
parent 1afe4255a7
commit 11464a79e6

View file

@ -555,6 +555,7 @@ class ExchangePage extends BasePage {
}); });
} }
if (state is TradeIsCreatedSuccessfully) { if (state is TradeIsCreatedSuccessfully) {
exchangeViewModel.reset();
Navigator.of(context).pushNamed(Routes.exchangeConfirm); Navigator.of(context).pushNamed(Routes.exchangeConfirm);
} }
}); });