CAKE-185 | added title property to TradeIsCreatedFailure class; applied title property in the createTrade() method (exchange_view_model.dart); applied title property as alert title in the exchange_page.dart

This commit is contained in:
OleksandrSobol
2020-12-02 21:51:06 +02:00
parent ca0c0d1ad6
commit 458079d3ae
3 changed files with 9 additions and 3 deletions
+1 -1
View File
@@ -558,7 +558,7 @@ class ExchangePage extends BasePage {
context: context,
builder: (BuildContext context) {
return AlertWithOneAction(
alertTitle: S.of(context).error,
alertTitle: state.title,
alertContent: state.error,
buttonText: S.of(context).ok,
buttonAction: () => Navigator.of(context).pop());