From 03c3a3624ce186f1d0d5ce2186aba1437e261517 Mon Sep 17 00:00:00 2001 From: tuxsudo Date: Tue, 14 Oct 2025 07:52:53 -0400 Subject: [PATCH] Fix menu action icons (#2582) * Fix menu action icons * Fix a couple picker icons --- assets/images/bitcoin_menu.png | Bin 0 -> 3469 bytes cw_core/lib/crypto_currency.dart | 6 +++--- lib/src/widgets/setting_actions.dart | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) create mode 100644 assets/images/bitcoin_menu.png diff --git a/assets/images/bitcoin_menu.png b/assets/images/bitcoin_menu.png new file mode 100644 index 0000000000000000000000000000000000000000..a278fa2a5f19bc463a9143ea0fa159e605a38636 GIT binary patch literal 3469 zcmV;84RZ2{P)NuJfXV|0kErX z6H?t)mlY5opr3Pkd``~_Bw&D2e&&BWu(%(OPUqk_2o7>KeAfd3Pf$XSL_8vay3ha! zcu#*jkO(sf;p6q_#~C<=69Ov>6`kiSC|Md^9$I5dkVWGx#BjO{!}tFkod#ez)(V^w zwI7RWAxiAYK^WfJI-FZ4Fb}_o@`SDqz?`M(!s1Ss(tG{u=%4ps5!MJC2@6Aet+gzX zRsUyr@*7xyae;S7*mYzOBKW3-HYV`y3cC(1zod9!Y6jlAz%+U4F44QBt9|&sn0%4T zQQI@`Rs}vEzP$itwa!eQ>Sj(+m(kVecnmGkiolW8cHZp%a9kD{e39X^Hmq4d!<-Lq z1~epp*o&J6y9e}{s1dE{SAvG%Kt%|`mx!-mPXXch%J2US4bh0eJS2xGZYXGf1ba%* z+>l-S5dCs^a}=U?w-;9j9{m?A)p3%_;-QW{q#q~_{DN*y zqhdQ}IP@r{P<07a$%23K-+ppwDMVSE$Lm1^Uax!L9nmM?#QXt4-U|wb=#~a)TkucA z+p$~gTp46VhA26|<4$r}ac4+6{&%`>R9ywUf+JX?kQzh_T|j5H~;blNB|1vAXoP$BqN{_*KA z{_$g-_3W1ZcLgqBu&gSDhw6>*Z(WR|p?d=9AcpWBkv9^+tEt!82;^gJyI# z&mR@p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&i`Nno4k(hG ziL`qMbx~w6w=UWuUp&iuAo9Nt!Ga_0Y(IBFpM2|O3Jc$5&H36YX!>78ak9X*rmGu3 z927lVC~$1WQ!vOT|GR$QCjSe&#bi_FYva}xij44<3{yp9h5lDo^S`^oyi7&RMuAmN z3kk-C>NEe{Fw643cmGSvqEZzn2qiI>X-cDt67DI9&#jTTW_hsw3{{<(1HA`#8VVIs zez#@m4d66Xzo39RpNM8~9T+cdP-ccwH~Zh6(3ghh@LAa>m)<@a4b@BQwn(Poa#cQa zfyI2V?PN#%Z`q+aq4W@)z#ky}V_PyJhxCvhg%`nT!ts^g*D^9~f#Y^TcQ$sE*=_W@ z95C8D{5jt!WO!=p0gbzf40QZ%8f^&JjyM*q+n|ahCFtZoA zKI#&esZC&p&$`D*F!343c+XEFKL!;{z060Hi%#5?g=pbPIIo^ia`w&Ax7P71tE(!q|q*M*W>`LgIdE04|v vhREXAt$rR~)ZrEJ0Ty#aabH*GI~({5Iy;|A3?0*b00000NkvXXu0mjfjfJLP literal 0 HcmV?d00001 diff --git a/cw_core/lib/crypto_currency.dart b/cw_core/lib/crypto_currency.dart index 09d89ad82..5440bddbf 100644 --- a/cw_core/lib/crypto_currency.dart +++ b/cw_core/lib/crypto_currency.dart @@ -229,15 +229,15 @@ class CryptoCurrency extends EnumerableItem with Serializable implemen static const usdcEPoly = CryptoCurrency(title: 'USDC.E', tag: 'POL', fullName: 'USD Coin (PoS)', raw: 88, name: 'usdcepoly', iconPath: 'assets/images/crypto/usdc.webp', decimals: 6); static const kaspa = CryptoCurrency(title: 'KAS', fullName: 'Kaspa', raw: 89, name: 'kas', iconPath: 'assets/images/kaspa_icon.png', decimals: 8); static const digibyte = CryptoCurrency(title: 'DGB', fullName: 'DigiByte', raw: 90, name: 'dgb', iconPath: 'assets/images/digibyte.png', decimals: 8); - static const usdtSol = CryptoCurrency(title: 'USDT', tag: 'SOL', fullName: 'USDT Tether', raw: 91, name: 'usdtsol', iconPath: 'assets/images/crypto/tether.png', decimals: 6); - static const usdcTrc20 = CryptoCurrency(title: 'USDC', tag: 'TRX', fullName: 'USDC Coin', raw: 92, name: 'usdctrc20', iconPath: 'assets/images/crypto/usdc.png', decimals: 6); + static const usdtSol = CryptoCurrency(title: 'USDT', tag: 'SOL', fullName: 'USDT Tether', raw: 91, name: 'usdtsol', iconPath: 'assets/images/crypto/tether.webp', decimals: 6); + static const usdcTrc20 = CryptoCurrency(title: 'USDC', tag: 'TRX', fullName: 'USDC Coin', raw: 92, name: 'usdctrc20', iconPath: 'assets/images/crypto/usdc.webp', decimals: 6); static const tbtc = CryptoCurrency(title: 'tBTC', fullName: 'Testnet Bitcoin', raw: 93, name: 'tbtc', iconPath: 'assets/images/tbtc.png', decimals: 8); static const wow = CryptoCurrency(title: 'WOW', fullName: 'Wownero', raw: 94, name: 'wow', iconPath: 'assets/images/crypto/wownero.webp', decimals: 11); static const ton = CryptoCurrency(title: 'TON', fullName: 'Toncoin', raw: 95, name: 'ton', iconPath: 'assets/images/ton_icon.png', decimals: 8); static const zano = CryptoCurrency(title: 'ZANO', tag: 'ZANO', fullName: 'Zano', raw: 96, name: 'zano', iconPath: 'assets/images/crypto/zano.webp', decimals: 12); static const flip = CryptoCurrency(title: 'FLIP', tag: 'ETH', fullName: 'Chainflip', raw: 97, name: 'flip', iconPath: 'assets/images/flip_icon.png', decimals: 18); static const deuro = CryptoCurrency(title: 'DEURO', tag: 'ETH', fullName: 'Decentralized Euro', raw: 98, name: 'deuro', iconPath: 'assets/images/deuro_icon.png', decimals: 18); - static const usdtbsc = CryptoCurrency(title: 'USDT', tag: 'BSC', fullName: 'USDT Binance coin', raw: 99, name: 'usdtbsc', iconPath: 'assets/images/crypto/tether.png', decimals: 18); + static const usdtbsc = CryptoCurrency(title: 'USDT', tag: 'BSC', fullName: 'USDT Binance coin', raw: 99, name: 'usdtbsc', iconPath: 'assets/images/crypto/tether.webp', decimals: 18); static const ndeps = CryptoCurrency(title: 'NDEPS', tag: 'ETH', fullName: 'Native Decentralized Euro Protocol Share', raw: 100, name: 'ndeps', iconPath: 'assets/images/ndeps_icon.png', decimals: 18); static const deps = CryptoCurrency(title: 'DEPS', tag: 'ETH', fullName: 'Decentralized Euro Protocol Share', raw: 101, name: 'deps', iconPath: 'assets/images/deps_icon.png', decimals: 18); static const kbtc = CryptoCurrency(title: 'KBTC', tag: 'ETH', fullName: 'Kraken Wrapped Bitcoin', raw: 102, name: 'kbtc', iconPath: 'assets/images/kbtc_icon.png', decimals: 8); diff --git a/lib/src/widgets/setting_actions.dart b/lib/src/widgets/setting_actions.dart index 2e46d05ba..f42a4da96 100644 --- a/lib/src/widgets/setting_actions.dart +++ b/lib/src/widgets/setting_actions.dart @@ -34,7 +34,7 @@ class SettingActions { static SettingActions silentPaymentsSettingAction = SettingActions._( key: ValueKey('dashboard_page_menu_widget_silent_payment_settings_button_key'), name: (context) => S.of(context).silent_payments_settings, - image: 'assets/images/crypto/bitcoin.webp', + image: 'assets/images/bitcoin_menu.png', onTap: (BuildContext context) { Navigator.of(context).pushNamed(Routes.silentPaymentsSettings); }, @@ -53,7 +53,7 @@ class SettingActions { static SettingActions litecoinMwebSettingAction = SettingActions._( key: ValueKey('dashboard_page_menu_widget_litecoin_mweb_settings_button_key'), name: (context) => S.of(context).litecoin_mweb_settings, - image: 'assets/images/crypto/litecoin.webp', + image: 'assets/images/mweb_logo.png', onTap: (BuildContext context) { Navigator.of(context).pushNamed(Routes.mwebSettings); },