mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-11-17 09:46:39 +01:00
CW-1260: Enable Swap all for EVM wallets and persist amount when currency changes (#2828)
* feat: Enable Swap all for EVM wallets and persist amount when currency changes * Update local * ffeat: Recalculate amounts when swapping all and currency changes * revert formatting * fix: Review comments * refactor: streamline currency change logic * refactor: simplify currency change handling * fix: handle amount and gas estimation for swap xyz trades for swap all * Revert "fix: handle amount and gas estimation for swap xyz trades for swap all" This reverts commit 408c9dbeffdc82e08e9349d0f14b229031060c62. * feat: exclude specific providers for swap all --------- Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
This commit is contained in:
co-authored by
Omar Hatem
parent
40c4118b66
commit
2651260fe4
@@ -636,8 +636,6 @@ class ExchangePage extends BasePage {
|
||||
key.currentState!.changeAddress(
|
||||
address:
|
||||
isCurrentTypeWallet ? exchangeViewModel.wallet.walletAddresses.addressForExchange : '');
|
||||
|
||||
key.currentState!.changeAmount(amount: '');
|
||||
}
|
||||
|
||||
void _onWalletNameChange(ExchangeViewModel exchangeViewModel, CryptoCurrency currency,
|
||||
|
||||
Reference in New Issue
Block a user