mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-12-01 12:04:21 +01:00
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:
@@ -14,7 +14,8 @@ class TradeIsCreatedSuccessfully extends ExchangeTradeState {
|
||||
}
|
||||
|
||||
class TradeIsCreatedFailure extends ExchangeTradeState {
|
||||
TradeIsCreatedFailure({@required this.error});
|
||||
TradeIsCreatedFailure({@required this.title, @required this.error});
|
||||
|
||||
final String title;
|
||||
final String error;
|
||||
}
|
||||
Reference in New Issue
Block a user