Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
4a20793
feat: Add network selector and compatible networks screen to send pag…
Blazebrain Jul 6, 2026
c5d5e02
feat: add redesigned payanything flow and handle cases for evms, sola…
Blazebrain Jul 7, 2026
e4c07b1
feat: adding the swap part to the entire flow
Blazebrain Jul 9, 2026
4d856e2
refactor: update navigation and error handling in send and swap flows
Blazebrain Jul 9, 2026
f206454
Merge branch 'dev' of https://github.com/cake-tech/cake_wallet into C…
Blazebrain Jul 9, 2026
0c5e2fa
adjust structuring and use the chain badge icons, also fix crypto and…
Blazebrain Jul 9, 2026
41e7bbf
fix: modify guard for non-evm chains and minor cleanup
Blazebrain Jul 9, 2026
6b6a492
use multipicker layout for receive section, streamline send to availa…
Blazebrain Jul 10, 2026
36c9361
handle btc case for picker, update style and images across
Blazebrain Jul 10, 2026
c6a36da
fix all pending issues with scanning qr and network handling for both…
Blazebrain Jul 11, 2026
81cfafe
Merge branch 'dev' of https://github.com/cake-tech/cake_wallet into C…
Blazebrain Jul 11, 2026
dea2e3c
fix all pending issues with scanning qr and network handling for both…
Blazebrain Jul 11, 2026
e269aed
Merge branch 'dev' of https://github.com/cake-tech/cake_wallet into C…
Blazebrain Jul 11, 2026
1387a7b
Merge branch 'dev' of https://github.com/cake-tech/cake_wallet into C…
Blazebrain Jul 13, 2026
0ab18e1
fix: expand fetch for tokens across networks and fix other issues reg…
Blazebrain Jul 13, 2026
b1c93a6
Merge branch 'dev' of https://github.com/cake-tech/cake_wallet into C…
Blazebrain Jul 13, 2026
b450ae5
Merge branch 'dev' into CW-1523-AnyPay-Redesign
malik1004x Jul 14, 2026
b4678cf
auto-reformat
malik1004x Jul 14, 2026
a355d30
fix conflict
malik1004x Jul 14, 2026
fcf4857
Merge branch 'CW-1523-AnyPay-Redesign' of https://github.com/cake-tec…
Blazebrain Jul 15, 2026
ae889e5
Merge branch 'dev' of https://github.com/cake-tech/cake_wallet into C…
Blazebrain Jul 15, 2026
b1ae2f1
handle evm qr scan from homepage and add guards for swap and switch f…
Blazebrain Jul 15, 2026
f48129c
chore: Cleanup
Blazebrain Jul 15, 2026
46622e4
Merge branch 'dev' of https://github.com/cake-tech/cake_wallet into C…
Blazebrain Jul 16, 2026
9a94fb6
chore: set estimated fee to 0 when switching wallet
Blazebrain Jul 16, 2026
cf916cd
Merge branch 'dev' of https://github.com/cake-tech/cake_wallet into C…
Blazebrain Jul 21, 2026
dce1fc9
fix merge conflicts
Blazebrain Jul 21, 2026
fd7a3bc
fix to review comments and reformatting for lints
Blazebrain Jul 21, 2026
fd86ce6
fix: root cause for token bug reported
Blazebrain Jul 21, 2026
e9311f9
chore: cleanup
Blazebrain Jul 22, 2026
985ae8a
Merge branch 'dev' of https://github.com/cake-tech/cake_wallet into C…
Blazebrain Jul 30, 2026
8b099a0
feat: add improved anypay swap screen which focuses on the receive am…
Blazebrain Jul 31, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions cw_core/lib/currency_for_wallet_type.dart
Original file line number Diff line number Diff line change
Expand Up @@ -111,3 +111,48 @@ String getCryptoCurrencyIconForWalletListItem(WalletType type,

return walletTypeToCryptoCurrency(type, isTestnet: isTestnet, chainId: chainId).iconPath ?? "";
}

String? symbolIconPathForWalletType(WalletType type) {
const prefix = 'assets/new-ui/card_icons/symbol_icons';
switch (type) {
case WalletType.monero:
return '$prefix/xmr-symbol.svg';
case WalletType.bitcoin:
return '$prefix/btc-symbol.svg';
case WalletType.litecoin:
return '$prefix/ltc-symbol.svg';
case WalletType.ethereum:
return '$prefix/eth-symbol.svg';
case WalletType.base:
return '$prefix/base-symbol.svg';
case WalletType.arbitrum:
return '$prefix/arb-symbol.svg';
case WalletType.bsc:
return '$prefix/bnb-symbol.svg';
case WalletType.bitcoinCash:
return '$prefix/bch-symbol.svg';
case WalletType.polygon:
return '$prefix/pol-symbol.svg';
case WalletType.solana:
return '$prefix/sol-symbol.svg';
case WalletType.tron:
return '$prefix/trx-symbol.svg';
case WalletType.zano:
return '$prefix/zano-symbol.svg';
case WalletType.decred:
return '$prefix/dcr-symbol.svg';
case WalletType.dogecoin:
return '$prefix/doge-symbol.svg';
case WalletType.zcash:
return '$prefix/zec-symbol.svg';
case WalletType.nano:
return '$prefix/xno-symbol.svg';
case WalletType.wownero:
case WalletType.haven:
case WalletType.banano:
case WalletType.none:
return null;
}
}

bool isMonochromeSymbolIcon(String path) => path.contains('/symbol_icons/');
Loading
Loading