close exchange step 4 back to wallet or exchange home view

This commit is contained in:
julian 2023-02-09 07:31:31 -06:00
parent e78fc3ef9e
commit 86ca402401
3 changed files with 561 additions and 515 deletions

View file

@ -15,6 +15,7 @@ class IncompleteExchangeModel extends ChangeNotifier {
final ExchangeRateType rateType; final ExchangeRateType rateType;
final bool reversed; final bool reversed;
final bool walletInitiated;
String? _recipientAddress; String? _recipientAddress;
@ -68,6 +69,7 @@ class IncompleteExchangeModel extends ChangeNotifier {
required this.receiveAmount, required this.receiveAmount,
required this.rateType, required this.rateType,
required this.reversed, required this.reversed,
required this.walletInitiated,
String? rateId, String? rateId,
}) : _rateId = rateId; }) : _rateId = rateId;
} }

View file

@ -558,6 +558,7 @@ class _ExchangeFormState extends ConsumerState<ExchangeForm> {
rateType: rateType, rateType: rateType,
rateId: estimate.rateId, rateId: estimate.rateId,
reversed: estimate.reversed, reversed: estimate.reversed,
walletInitiated: walletInitiated,
); );
if (mounted) { if (mounted) {

File diff suppressed because it is too large Load diff