mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-17 01:37:54 +00:00
close exchange step 4 back to wallet or exchange home view
This commit is contained in:
parent
e78fc3ef9e
commit
86ca402401
3 changed files with 561 additions and 515 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
Loading…
Reference in a new issue