mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-23 19:05:51 +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 bool reversed;
|
||||
final bool walletInitiated;
|
||||
|
||||
String? _recipientAddress;
|
||||
|
||||
|
@ -68,6 +69,7 @@ class IncompleteExchangeModel extends ChangeNotifier {
|
|||
required this.receiveAmount,
|
||||
required this.rateType,
|
||||
required this.reversed,
|
||||
required this.walletInitiated,
|
||||
String? rateId,
|
||||
}) : _rateId = rateId;
|
||||
}
|
||||
|
|
|
@ -558,6 +558,7 @@ class _ExchangeFormState extends ConsumerState<ExchangeForm> {
|
|||
rateType: rateType,
|
||||
rateId: estimate.rateId,
|
||||
reversed: estimate.reversed,
|
||||
walletInitiated: walletInitiated,
|
||||
);
|
||||
|
||||
if (mounted) {
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue