diff --git a/cw_evm/lib/evm_chain_wallet.dart b/cw_evm/lib/evm_chain_wallet.dart index 1649e7964..ea1312e23 100644 --- a/cw_evm/lib/evm_chain_wallet.dart +++ b/cw_evm/lib/evm_chain_wallet.dart @@ -1020,7 +1020,7 @@ abstract class EVMChainWalletBase gasFee: estimatedFeesForTransaction, priority: _credentials.priority, currency: transactionCurrency, - feeCurrency: switch (selectedChainId) { 137 => "POL", _ => "ETH" }, + feeCurrency: EVMChainUtils.getFeeCurrency(selectedChainId), maxFeePerGas: maxFeePerGasForTransaction, exponent: exponent, contractAddress: @@ -1051,6 +1051,7 @@ abstract class EVMChainWalletBase final nativeCurrency = switch (selectedChainId) { 137 => CryptoCurrency.maticpoly, + 56 => CryptoCurrency.bnb, 8453 => CryptoCurrency.baseEth, 42161 => CryptoCurrency.arbEth, _ => CryptoCurrency.eth, diff --git a/lib/src/screens/send/widgets/send_card.dart b/lib/src/screens/send/widgets/send_card.dart index 5c39e6975..77a6e795b 100644 --- a/lib/src/screens/send/widgets/send_card.dart +++ b/lib/src/screens/send/widgets/send_card.dart @@ -275,22 +275,29 @@ class SendCardState extends State with AutomaticKeepAliveClientMixin { clipBehavior: Clip.none, children: [ CakeImageWidget( - imageUrl: detectedCurrency.iconPath!, + imageUrl: detectedCurrency.iconPath ?? '', width: 32, height: 32, ),