mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-26 06:08:40 +01:00
Generic fixes (#3292)
* Add masked token image to to currency picker items and adjust estacked badge icon for node share qr * fix: Missing chain images in bridge flow * chore: Update image paths * fix: WC connection not triggering for Solana from scan qr * fix: Wallet icon and eth currency icon displaying wrongly in various places for Base wallets
This commit is contained in:
@@ -34,7 +34,7 @@ class LinkViewModel {
|
||||
String? getRouteToGo() {
|
||||
if (isWalletConnectLink) {
|
||||
if (!isWalletConnectCompatibleChain(appStore.wallet!.type)) {
|
||||
_errorToast(S.current.switchToEVMCompatibleWallet);
|
||||
_errorToast(S.current.switchToWCCompatibleWallet(walletConnectCompatibleChainsLabel()));
|
||||
return null;
|
||||
}
|
||||
return Routes.walletConnectConnectionsListing;
|
||||
|
||||
@@ -481,7 +481,7 @@ abstract class WalletAddressListViewModelBase extends WalletChangeListenerViewMo
|
||||
];
|
||||
case 137:
|
||||
return [
|
||||
'assets/images/crypto/polygon.webp',
|
||||
'assets/new-ui/crypto_full_icons/polygon.svg',
|
||||
'assets/images/eth_pol_icon.svg',
|
||||
'assets/images/usdc_icon.svg',
|
||||
'assets/images/usdt_wallet_icon.svg',
|
||||
@@ -495,20 +495,20 @@ abstract class WalletAddressListViewModelBase extends WalletChangeListenerViewMo
|
||||
];
|
||||
case 42161:
|
||||
return [
|
||||
'assets/images/crypto/arbitrum.webp',
|
||||
'assets/new-ui/crypto_full_icons/arbitrum.svg',
|
||||
'assets/images/usdc_icon.svg',
|
||||
'assets/images/more_tokens.svg',
|
||||
];
|
||||
case 56:
|
||||
return [
|
||||
'assets/images/crypto/BNB.webp',
|
||||
'assets/new-ui/crypto_full_icons/bnb.svg',
|
||||
'assets/images/usdc_icon.svg',
|
||||
'assets/images/usdt_wallet_icon.svg',
|
||||
'assets/images/more_tokens.svg',
|
||||
];
|
||||
default:
|
||||
return [
|
||||
'assets/images/crypto/ethereum.webp',
|
||||
'assets/new-ui/crypto_full_icons/ethereum.svg',
|
||||
'assets/images/usdc_icon.svg',
|
||||
'assets/images/usdt_wallet_icon.svg',
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user