diff --git a/assets/images/crypto/base_icon.webp b/assets/images/crypto/base_icon.webp new file mode 100644 index 000000000..0d8159c90 Binary files /dev/null and b/assets/images/crypto/base_icon.webp differ diff --git a/assets/images/crypto/bitcoin-cash.png b/assets/images/crypto/bitcoin-cash.png deleted file mode 100644 index ee02b610b..000000000 Binary files a/assets/images/crypto/bitcoin-cash.png and /dev/null differ diff --git a/assets/images/crypto/bitcoin-cash.webp b/assets/images/crypto/bitcoin-cash.webp new file mode 100644 index 000000000..65d81f8f5 Binary files /dev/null and b/assets/images/crypto/bitcoin-cash.webp differ diff --git a/assets/images/crypto/bitcoin.png b/assets/images/crypto/bitcoin.png deleted file mode 100644 index 7e88aa51d..000000000 Binary files a/assets/images/crypto/bitcoin.png and /dev/null differ diff --git a/assets/images/crypto/bitcoin.webp b/assets/images/crypto/bitcoin.webp new file mode 100644 index 000000000..31c75b9de Binary files /dev/null and b/assets/images/crypto/bitcoin.webp differ diff --git a/assets/images/crypto/dai.png b/assets/images/crypto/dai.png deleted file mode 100644 index 29f7f5f7d..000000000 Binary files a/assets/images/crypto/dai.png and /dev/null differ diff --git a/assets/images/crypto/dai.webp b/assets/images/crypto/dai.webp new file mode 100644 index 000000000..158d7a195 Binary files /dev/null and b/assets/images/crypto/dai.webp differ diff --git a/assets/images/crypto/decred.png b/assets/images/crypto/decred.png deleted file mode 100644 index a636dd416..000000000 Binary files a/assets/images/crypto/decred.png and /dev/null differ diff --git a/assets/images/crypto/decred.webp b/assets/images/crypto/decred.webp new file mode 100644 index 000000000..f87ab91f3 Binary files /dev/null and b/assets/images/crypto/decred.webp differ diff --git a/assets/images/crypto/deuro.png b/assets/images/crypto/deuro.png deleted file mode 100644 index 911823803..000000000 Binary files a/assets/images/crypto/deuro.png and /dev/null differ diff --git a/assets/images/crypto/deuro.webp b/assets/images/crypto/deuro.webp new file mode 100644 index 000000000..2750c3457 Binary files /dev/null and b/assets/images/crypto/deuro.webp differ diff --git a/assets/images/crypto/dogecoin.png b/assets/images/crypto/dogecoin.png deleted file mode 100644 index 26f17fb31..000000000 Binary files a/assets/images/crypto/dogecoin.png and /dev/null differ diff --git a/assets/images/crypto/dogecoin.webp b/assets/images/crypto/dogecoin.webp new file mode 100644 index 000000000..50638a584 Binary files /dev/null and b/assets/images/crypto/dogecoin.webp differ diff --git a/assets/images/crypto/ethereum.png b/assets/images/crypto/ethereum.png deleted file mode 100644 index 41fee0665..000000000 Binary files a/assets/images/crypto/ethereum.png and /dev/null differ diff --git a/assets/images/crypto/ethereum.webp b/assets/images/crypto/ethereum.webp new file mode 100644 index 000000000..d1ed079bf Binary files /dev/null and b/assets/images/crypto/ethereum.webp differ diff --git a/assets/images/crypto/litecoin.png b/assets/images/crypto/litecoin.png deleted file mode 100644 index 83bf1bd77..000000000 Binary files a/assets/images/crypto/litecoin.png and /dev/null differ diff --git a/assets/images/crypto/litecoin.webp b/assets/images/crypto/litecoin.webp new file mode 100644 index 000000000..5ba27898b Binary files /dev/null and b/assets/images/crypto/litecoin.webp differ diff --git a/assets/images/crypto/monero.png b/assets/images/crypto/monero.png deleted file mode 100644 index 1520b564f..000000000 Binary files a/assets/images/crypto/monero.png and /dev/null differ diff --git a/assets/images/crypto/monero.webp b/assets/images/crypto/monero.webp new file mode 100644 index 000000000..98fe014d4 Binary files /dev/null and b/assets/images/crypto/monero.webp differ diff --git a/assets/images/crypto/nano.png b/assets/images/crypto/nano.png deleted file mode 100644 index 67c0f1e56..000000000 Binary files a/assets/images/crypto/nano.png and /dev/null differ diff --git a/assets/images/crypto/nano.webp b/assets/images/crypto/nano.webp new file mode 100644 index 000000000..db8f3c441 Binary files /dev/null and b/assets/images/crypto/nano.webp differ diff --git a/assets/images/crypto/polygon.png b/assets/images/crypto/polygon.png deleted file mode 100644 index db721f6e8..000000000 Binary files a/assets/images/crypto/polygon.png and /dev/null differ diff --git a/assets/images/crypto/polygon.webp b/assets/images/crypto/polygon.webp new file mode 100644 index 000000000..ced9b83d1 Binary files /dev/null and b/assets/images/crypto/polygon.webp differ diff --git a/assets/images/crypto/solana.png b/assets/images/crypto/solana.png deleted file mode 100644 index 7b5fba5c7..000000000 Binary files a/assets/images/crypto/solana.png and /dev/null differ diff --git a/assets/images/crypto/solana.webp b/assets/images/crypto/solana.webp new file mode 100644 index 000000000..abc5c0a32 Binary files /dev/null and b/assets/images/crypto/solana.webp differ diff --git a/assets/images/crypto/tether.png b/assets/images/crypto/tether.png deleted file mode 100644 index 46115efbd..000000000 Binary files a/assets/images/crypto/tether.png and /dev/null differ diff --git a/assets/images/crypto/tether.webp b/assets/images/crypto/tether.webp new file mode 100644 index 000000000..6a06bc2dc Binary files /dev/null and b/assets/images/crypto/tether.webp differ diff --git a/assets/images/crypto/tron.png b/assets/images/crypto/tron.png deleted file mode 100644 index 08f181d9f..000000000 Binary files a/assets/images/crypto/tron.png and /dev/null differ diff --git a/assets/images/crypto/tron.webp b/assets/images/crypto/tron.webp new file mode 100644 index 000000000..9edd555c2 Binary files /dev/null and b/assets/images/crypto/tron.webp differ diff --git a/assets/images/crypto/usdc.png b/assets/images/crypto/usdc.png deleted file mode 100644 index f7cb798b6..000000000 Binary files a/assets/images/crypto/usdc.png and /dev/null differ diff --git a/assets/images/crypto/usdc.webp b/assets/images/crypto/usdc.webp new file mode 100644 index 000000000..f795d79ed Binary files /dev/null and b/assets/images/crypto/usdc.webp differ diff --git a/assets/images/crypto/wbtc.png b/assets/images/crypto/wbtc.png deleted file mode 100644 index 236cb13b8..000000000 Binary files a/assets/images/crypto/wbtc.png and /dev/null differ diff --git a/assets/images/crypto/wbtc.webp b/assets/images/crypto/wbtc.webp new file mode 100644 index 000000000..9ad4e866d Binary files /dev/null and b/assets/images/crypto/wbtc.webp differ diff --git a/assets/images/crypto/wownero.png b/assets/images/crypto/wownero.png deleted file mode 100644 index 54f3d0f69..000000000 Binary files a/assets/images/crypto/wownero.png and /dev/null differ diff --git a/assets/images/crypto/wownero.webp b/assets/images/crypto/wownero.webp new file mode 100644 index 000000000..c1a26bb9f Binary files /dev/null and b/assets/images/crypto/wownero.webp differ diff --git a/assets/images/crypto/zano.png b/assets/images/crypto/zano.png deleted file mode 100644 index 1467c7f93..000000000 Binary files a/assets/images/crypto/zano.png and /dev/null differ diff --git a/assets/images/crypto/zano.webp b/assets/images/crypto/zano.webp new file mode 100644 index 000000000..bc0a34040 Binary files /dev/null and b/assets/images/crypto/zano.webp differ diff --git a/assets/images/hero/welcome_dark.svg b/assets/images/hero/welcome_dark.svg new file mode 100644 index 000000000..7f50d2e48 --- /dev/null +++ b/assets/images/hero/welcome_dark.svg @@ -0,0 +1,215 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/support_chat.svg b/assets/images/support_chat.svg deleted file mode 100644 index 1b91e1a6d..000000000 --- a/assets/images/support_chat.svg +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/assets/images/support_chat.webp b/assets/images/support_chat.webp new file mode 100644 index 000000000..810b2d43b Binary files /dev/null and b/assets/images/support_chat.webp differ diff --git a/assets/images/support_chat_dark.svg b/assets/images/support_chat_dark.svg deleted file mode 100644 index cab112a2e..000000000 --- a/assets/images/support_chat_dark.svg +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - diff --git a/assets/images/support_chat_dark.webp b/assets/images/support_chat_dark.webp new file mode 100644 index 000000000..02b621c2d Binary files /dev/null and b/assets/images/support_chat_dark.webp differ diff --git a/assets/images/support_docs.svg b/assets/images/support_docs.svg deleted file mode 100644 index 4f8c054eb..000000000 --- a/assets/images/support_docs.svg +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/assets/images/support_docs.webp b/assets/images/support_docs.webp new file mode 100644 index 000000000..e327f63f4 Binary files /dev/null and b/assets/images/support_docs.webp differ diff --git a/assets/images/support_docs_dark.svg b/assets/images/support_docs_dark.svg deleted file mode 100644 index 27bb029a6..000000000 --- a/assets/images/support_docs_dark.svg +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/assets/images/support_docs_dark.webp b/assets/images/support_docs_dark.webp new file mode 100644 index 000000000..f452f234f Binary files /dev/null and b/assets/images/support_docs_dark.webp differ diff --git a/assets/images/support_links.svg b/assets/images/support_links.svg deleted file mode 100644 index 8a7b80e5a..000000000 --- a/assets/images/support_links.svg +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/assets/images/support_links.webp b/assets/images/support_links.webp new file mode 100644 index 000000000..6d8b5d845 Binary files /dev/null and b/assets/images/support_links.webp differ diff --git a/assets/images/support_links_dark.svg b/assets/images/support_links_dark.svg deleted file mode 100644 index 8604a493c..000000000 --- a/assets/images/support_links_dark.svg +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/assets/images/support_links_dark.webp b/assets/images/support_links_dark.webp new file mode 100644 index 000000000..8001b5ed8 Binary files /dev/null and b/assets/images/support_links_dark.webp differ diff --git a/cw_core/lib/crypto_currency.dart b/cw_core/lib/crypto_currency.dart index eb8e5ac15..09d89ad82 100644 --- a/cw_core/lib/crypto_currency.dart +++ b/cw_core/lib/crypto_currency.dart @@ -135,20 +135,20 @@ class CryptoCurrency extends EnumerableItem with Serializable implemen ]; // title, tag (if applicable), fullName (if unique), raw, name, iconPath - static const xmr = CryptoCurrency(title: 'XMR', fullName: 'Monero', raw: 0, name: 'xmr', iconPath: 'assets/images/crypto/monero.png', decimals: 12); + static const xmr = CryptoCurrency(title: 'XMR', fullName: 'Monero', raw: 0, name: 'xmr', iconPath: 'assets/images/crypto/monero.webp', decimals: 12); static const ada = CryptoCurrency(title: 'ADA', fullName: 'Cardano', raw: 1, name: 'ada', iconPath: 'assets/images/ada_icon.png', decimals: 6); - static const bch = CryptoCurrency(title: 'BCH', fullName: 'Bitcoin Cash', raw: 2, name: 'bch', iconPath: 'assets/images/crypto/bitcoin-cash.png', decimals: 8); + static const bch = CryptoCurrency(title: 'BCH', fullName: 'Bitcoin Cash', raw: 2, name: 'bch', iconPath: 'assets/images/crypto/bitcoin-cash.webp', decimals: 8); static const bnb = CryptoCurrency(title: 'BNB', tag: 'BSC', fullName: 'Binance Coin', raw: 3, name: 'bnb', iconPath: 'assets/images/bnb_icon.png', decimals: 8); - static const btc = CryptoCurrency(title: 'BTC', fullName: 'Bitcoin', raw: 4, name: 'btc', iconPath: 'assets/images/crypto/bitcoin.png', decimals: 8); - static const dai = CryptoCurrency(title: 'DAI', tag: 'ETH', fullName: 'Dai', raw: 5, name: 'dai', iconPath: 'assets/images/crypto/dai.png', decimals: 18); + static const btc = CryptoCurrency(title: 'BTC', fullName: 'Bitcoin', raw: 4, name: 'btc', iconPath: 'assets/images/crypto/bitcoin.webp', decimals: 8); + static const dai = CryptoCurrency(title: 'DAI', tag: 'ETH', fullName: 'Dai', raw: 5, name: 'dai', iconPath: 'assets/images/crypto/dai.webp', decimals: 18); static const dash = CryptoCurrency(title: 'DASH', fullName: 'Dash', raw: 6, name: 'dash', iconPath: 'assets/images/dash_icon.png', decimals: 8); static const eos = CryptoCurrency(title: 'EOS', fullName: 'EOS', raw: 7, name: 'eos', iconPath: 'assets/images/eos_icon.png', decimals: 4); - static const eth = CryptoCurrency(title: 'ETH', fullName: 'Ethereum', raw: 8, name: 'eth', iconPath: 'assets/images/crypto/ethereum.png', decimals: 18); - static const ltc = CryptoCurrency(title: 'LTC', fullName: 'Litecoin', raw: 9, name: 'ltc', iconPath: 'assets/images/crypto/litecoin.png', decimals: 8); - static const nano = CryptoCurrency(title: 'XNO', fullName: 'Nano', raw: 10, name: 'xno', iconPath: 'assets/images/crypto/nano.png', decimals: 30); - static const trx = CryptoCurrency(title: 'TRX', fullName: 'TRON', raw: 11, name: 'trx', iconPath: 'assets/images/crypto/tron.png', decimals: 6); - static const usdt = CryptoCurrency(title: 'USDT', tag: 'OMNI', fullName: 'USDT Tether', raw: 12, name: 'usdt', iconPath: 'assets/images/crypto/tether.png', decimals: 6); - static const usdterc20 = CryptoCurrency(title: 'USDT', tag: 'ETH', fullName: 'USDT Tether', raw: 13, name: 'usdterc20', iconPath: 'assets/images/crypto/tether.png', decimals: 6); + static const eth = CryptoCurrency(title: 'ETH', fullName: 'Ethereum', raw: 8, name: 'eth', iconPath: 'assets/images/crypto/ethereum.webp', decimals: 18); + static const ltc = CryptoCurrency(title: 'LTC', fullName: 'Litecoin', raw: 9, name: 'ltc', iconPath: 'assets/images/crypto/litecoin.webp', decimals: 8); + static const nano = CryptoCurrency(title: 'XNO', fullName: 'Nano', raw: 10, name: 'xno', iconPath: 'assets/images/crypto/nano.webp', decimals: 30); + static const trx = CryptoCurrency(title: 'TRX', fullName: 'TRON', raw: 11, name: 'trx', iconPath: 'assets/images/crypto/tron.webp', decimals: 6); + static const usdt = CryptoCurrency(title: 'USDT', tag: 'OMNI', fullName: 'USDT Tether', raw: 12, name: 'usdt', iconPath: 'assets/images/crypto/tether.webp', decimals: 6); + static const usdterc20 = CryptoCurrency(title: 'USDT', tag: 'ETH', fullName: 'USDT Tether', raw: 13, name: 'usdterc20', iconPath: 'assets/images/crypto/tether.webp', decimals: 6); static const xlm = CryptoCurrency(title: 'XLM', fullName: 'Stellar', raw: 14, name: 'xlm', iconPath: 'assets/images/xlm_icon.png', decimals: 7); static const xrp = CryptoCurrency(title: 'XRP', fullName: 'Ripple', raw: 15, name: 'xrp', iconPath: 'assets/images/xrp_icon.png', decimals: 6); static const xhv = CryptoCurrency(title: 'XHV', fullName: 'Haven Protocol', raw: 16, name: 'xhv', iconPath: 'assets/images/xhv_logo.png', decimals: 12); @@ -171,25 +171,25 @@ class CryptoCurrency extends EnumerableItem with Serializable implemen static const avaxc = CryptoCurrency(title: 'AVAX', tag: 'AVAXC', fullName: 'Avalanche', raw: 31, name: 'avaxc', iconPath: 'assets/images/avaxc_icon.png', decimals: 9); static const btt = CryptoCurrency(title: 'BTT', tag: 'ETH', fullName: 'BitTorrent', raw: 32, name: 'btt', iconPath: 'assets/images/btt_icon.png', decimals: 18); static const bttc = CryptoCurrency(title: 'BTTC', tag: 'TRX', fullName: 'BitTorrent-NEW', raw: 33, name: 'bttc', iconPath: 'assets/images/btt_icon.png', decimals: 18); - static const doge = CryptoCurrency(title: 'DOGE', fullName: 'Dogecoin', raw: 34, name: 'doge', iconPath: 'assets/images/crypto/dogecoin.png', decimals: 8); + static const doge = CryptoCurrency(title: 'DOGE', fullName: 'Dogecoin', raw: 34, name: 'doge', iconPath: 'assets/images/crypto/dogecoin.webp', decimals: 8); static const firo = CryptoCurrency(title: 'FIRO', raw: 35, name: 'firo', iconPath: 'assets/images/firo_icon.png', decimals: 8); - static const usdttrc20 = CryptoCurrency(title: 'USDT', tag: 'TRX', fullName: 'USDT Tether', raw: 36, name: 'usdttrc20', iconPath: 'assets/images/crypto/tether.png', decimals: 6); + static const usdttrc20 = CryptoCurrency(title: 'USDT', tag: 'TRX', fullName: 'USDT Tether', raw: 36, name: 'usdttrc20', iconPath: 'assets/images/crypto/tether.webp', decimals: 6); static const hbar = CryptoCurrency(title: 'HBAR', fullName: 'Hedera', raw: 37, name: 'hbar', iconPath: 'assets/images/hbar_icon.png', decimals: 8); static const sc = CryptoCurrency(title: 'SC', fullName: 'Siacoin', raw: 38, name: 'sc', iconPath: 'assets/images/sc_icon.png', decimals: 16); - static const sol = CryptoCurrency(title: 'SOL', fullName: 'Solana', raw: 39, name: 'sol', iconPath: 'assets/images/crypto/solana.png', decimals: 9); - static const usdc = CryptoCurrency(title: 'USDC', tag: 'ETH', fullName: 'USD Coin', raw: 40, name: 'usdc', iconPath: 'assets/images/crypto/usdc.png', decimals: 6); - static const usdcsol = CryptoCurrency(title: 'USDC', tag: 'SOL', fullName: 'USDC Coin', raw: 41, name: 'usdcsol', iconPath: 'assets/images/crypto/usdc.png', decimals: 6); + static const sol = CryptoCurrency(title: 'SOL', fullName: 'Solana', raw: 39, name: 'sol', iconPath: 'assets/images/crypto/solana.webp', decimals: 9); + static const usdc = CryptoCurrency(title: 'USDC', tag: 'ETH', fullName: 'USD Coin', raw: 40, name: 'usdc', iconPath: 'assets/images/crypto/usdc.webp', decimals: 6); + static const usdcsol = CryptoCurrency(title: 'USDC', tag: 'SOL', fullName: 'USDC Coin', raw: 41, name: 'usdcsol', iconPath: 'assets/images/crypto/usdc.webp', decimals: 6); static const zaddr = CryptoCurrency(title: 'ZZEC', tag: 'ZEC', fullName: 'Shielded Zcash', raw: 42, name: 'zaddr', iconPath: 'assets/images/zec_icon.png', decimals: 8); static const zec = CryptoCurrency(title: 'TZEC', tag: 'ZEC', fullName: 'Transparent Zcash', raw: 43, name: 'zec', iconPath: 'assets/images/zec_icon.png', decimals: 8); static const zen = CryptoCurrency(title: 'ZEN', fullName: 'Horizen', raw: 44, name: 'zen', iconPath: 'assets/images/zen_icon.png', decimals: 8); static const xvg = CryptoCurrency(title: 'XVG', fullName: 'Verge', raw: 45, name: 'xvg', iconPath: 'assets/images/xvg_icon.png', decimals: 8); - static const usdcpoly = CryptoCurrency(title: 'USDC', tag: 'POL', fullName: 'USD Coin', raw: 46, name: 'usdcpoly', iconPath: 'assets/images/crypto/usdc.png', decimals: 6); - static const dcr = CryptoCurrency(title: 'DCR', fullName: 'Decred', raw: 47, name: 'dcr', iconPath: 'assets/images/crypto/decred.png', decimals: 8); + static const usdcpoly = CryptoCurrency(title: 'USDC', tag: 'POL', fullName: 'USD Coin', raw: 46, name: 'usdcpoly', iconPath: 'assets/images/crypto/usdc.webp', decimals: 6); + static const dcr = CryptoCurrency(title: 'DCR', fullName: 'Decred', raw: 47, name: 'dcr', iconPath: 'assets/images/crypto/decred.webp', decimals: 8); static const kmd = CryptoCurrency(title: 'KMD', fullName: 'Komodo', raw: 48, name: 'kmd', iconPath: 'assets/images/kmd_icon.png', decimals: 8); static const mana = CryptoCurrency(title: 'MANA', tag: 'ETH', fullName: 'Decentraland', raw: 49, name: 'mana', iconPath: 'assets/images/mana_icon.png', decimals: 18); - static const maticpoly = CryptoCurrency(title: 'POL', tag: 'POL', fullName: 'Polygon', raw: 50, name: 'maticpoly', iconPath: 'assets/images/crypto/polygon.png', decimals: 18); - static const matic = CryptoCurrency(title: 'MATIC', tag: 'ETH', fullName: 'Polygon', raw: 51, name: 'matic', iconPath: 'assets/images/crypto/polygon.png', decimals: 18); + static const maticpoly = CryptoCurrency(title: 'POL', tag: 'POL', fullName: 'Polygon', raw: 50, name: 'maticpoly', iconPath: 'assets/images/crypto/polygon.webp', decimals: 18); + static const matic = CryptoCurrency(title: 'MATIC', tag: 'ETH', fullName: 'Polygon', raw: 51, name: 'matic', iconPath: 'assets/images/crypto/polygon.webp', decimals: 18); static const mkr = CryptoCurrency(title: 'MKR', tag: 'ETH', fullName: 'Maker', raw: 52, name: 'mkr', iconPath: 'assets/images/mkr_icon.png', decimals: 18); static const near = CryptoCurrency(title: 'NEAR', fullName: 'NEAR Protocol', raw: 53, name: 'near', iconPath: 'assets/images/near_icon.png', decimals: 24); static const oxt = CryptoCurrency(title: 'OXT', tag: 'ETH', fullName: 'Orchid', raw: 54, name: 'oxt', iconPath: 'assets/images/oxt_icon.png', decimals: 18); @@ -200,7 +200,7 @@ class CryptoCurrency extends EnumerableItem with Serializable implemen static const scrt = CryptoCurrency(title: 'SCRT', fullName: 'Secret Network', raw: 59, name: 'scrt', iconPath: 'assets/images/scrt_icon.png', decimals: 6); static const uni = CryptoCurrency(title: 'UNI', tag: 'ETH', fullName: 'Uniswap', raw: 60, name: 'uni', iconPath: 'assets/images/uni_icon.png', decimals: 18); static const stx = CryptoCurrency(title: 'STX', fullName: 'Stacks', raw: 61, name: 'stx', iconPath: 'assets/images/stx_icon.png', decimals: 8); - static const btcln = CryptoCurrency(title: 'BTC', tag: 'LN', fullName: 'Bitcoin Lightning Network', raw: 62, name: 'btcln', iconPath: 'assets/images/crypto/bitcoin.png', decimals: 8); + static const btcln = CryptoCurrency(title: 'BTC', tag: 'LN', fullName: 'Bitcoin Lightning Network', raw: 62, name: 'btcln', iconPath: 'assets/images/crypto/bitcoin.webp', decimals: 8); static const shib = CryptoCurrency(title: 'SHIB', tag: 'ETH', fullName: 'Shiba Inu', raw: 63, name: 'shib', iconPath: 'assets/images/shib_icon.png', decimals: 18); static const aave = CryptoCurrency(title: 'AAVE', tag: 'ETH', fullName: 'Aave', raw: 64, name: 'aave', iconPath: 'assets/images/aave_icon.png', decimals: 18); static const arb = CryptoCurrency(title: 'ARB', fullName: 'Arbitrum', raw: 65, name: 'arb', iconPath: 'assets/images/arb_icon.png', decimals: 18); @@ -219,22 +219,22 @@ class CryptoCurrency extends EnumerableItem with Serializable implemen static const pepe = CryptoCurrency(title: 'PEPE', tag: 'ETH', fullName: 'Pepe', raw: 78, name: 'pepe', iconPath: 'assets/images/pepe_icon.png', decimals: 18); static const storj = CryptoCurrency(title: 'STORJ', tag: 'ETH', fullName: 'Storj', raw: 79, name: 'storj', iconPath: 'assets/images/storj_icon.png', decimals: 8); static const tusd = CryptoCurrency(title: 'TUSD', tag: 'ETH', fullName: 'TrueUSD', raw: 80, name: 'tusd', iconPath: 'assets/images/tusd_icon.png', decimals: 18); - static const wbtc = CryptoCurrency(title: 'WBTC', tag: 'ETH', fullName: 'Wrapped Bitcoin', raw: 81, name: 'wbtc', iconPath: 'assets/images/crypto/wbtc.png', decimals: 8); - static const weth = CryptoCurrency(title: 'WETH', tag: 'ETH', fullName: 'Wrapped Ethereum', raw: 82, name: 'weth', iconPath: 'assets/images/weth_icon.png', decimals: 18); + static const wbtc = CryptoCurrency(title: 'WBTC', tag: 'ETH', fullName: 'Wrapped Bitcoin', raw: 81, name: 'wbtc', iconPath: 'assets/images/crypto/wbtc.webp', decimals: 8); + static const weth = CryptoCurrency(title: 'WETH', tag: 'ETH', fullName: 'Wrapped Ethereum', raw: 82, name: 'weth', iconPath: 'assets/images/crypto/ethereum.webp', decimals: 18); static const zrx = CryptoCurrency(title: 'ZRX', tag: 'ETH', fullName: '0x Protocol', raw: 83, name: 'zrx', iconPath: 'assets/images/zrx_icon.png', decimals: 18); static const dydx = CryptoCurrency(title: 'DYDX', tag: 'ETH', fullName: 'dYdX', raw: 84, name: 'dydx', iconPath: 'assets/images/dydx_icon.png', decimals: 18); - static const steth = CryptoCurrency(title: 'STETH', tag: 'ETH', fullName: 'Lido Staked Ethereum', raw: 85, name: 'steth', iconPath: 'assets/images/steth_icon.png', decimals: 18); + static const steth = CryptoCurrency(title: 'STETH', tag: 'ETH', fullName: 'Lido Staked Ethereum', raw: 85, name: 'steth', iconPath: 'assets/images/crypto/ethereum.webp', decimals: 18); static const banano = CryptoCurrency(title: 'BAN', fullName: 'Banano', raw: 86, name: 'banano', iconPath: 'assets/images/nano_icon.png', decimals: 29); - static const usdtPoly = CryptoCurrency(title: 'USDT', tag: 'POL', fullName: 'Tether USD (PoS)', raw: 87, name: 'usdtpoly', iconPath: 'assets/images/crypto/tether.png', decimals: 6); - static const usdcEPoly = CryptoCurrency(title: 'USDC.E', tag: 'POL', fullName: 'USD Coin (PoS)', raw: 88, name: 'usdcepoly', iconPath: 'assets/images/crypto/usdc.png', decimals: 6); + static const usdtPoly = CryptoCurrency(title: 'USDT', tag: 'POL', fullName: 'Tether USD (PoS)', raw: 87, name: 'usdtpoly', iconPath: 'assets/images/crypto/tether.webp', decimals: 6); + 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 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.png', decimals: 11); + 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.png', decimals: 12); + 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); @@ -242,7 +242,7 @@ class CryptoCurrency extends EnumerableItem with Serializable implemen 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); static const cbbtc = CryptoCurrency(title: 'CBBTC', tag: 'ETH', fullName: 'Coinbase Wrapped BTC', raw: 103, name: 'cbbtc', iconPath: 'assets/images/cbbtc_icon.png', decimals: 8); - static const baseEth = CryptoCurrency(title: 'ETH', tag: 'BASE', fullName: 'Ethereum', raw: 104, name: 'baseth', iconPath: 'assets/images/eth_icon.png', decimals: 18); + static const baseEth = CryptoCurrency(title: 'ETH', tag: 'BASE', fullName: 'Ethereum', raw: 104, name: 'baseth', iconPath: 'assets/images/crypto/base_icon.webp', decimals: 18); static final Map _rawCurrencyMap = [...all, ...havenCurrencies].fold>({}, (acc, item) { diff --git a/cw_core/lib/currency_for_wallet_type.dart b/cw_core/lib/currency_for_wallet_type.dart index 33fee93f4..f1ae636f4 100644 --- a/cw_core/lib/currency_for_wallet_type.dart +++ b/cw_core/lib/currency_for_wallet_type.dart @@ -47,7 +47,7 @@ CryptoCurrency walletTypeToCryptoCurrency(WalletType type, {bool isTestnet = fal extension CryptoCurrencyForWalletType on CryptoCurrency { String? get normalizedIconPath { if (this == CryptoCurrency.baseEth) { - return 'assets/images/base_icon.png'; + return 'assets/images/crypto/base_icon.webp'; } return iconPath; } diff --git a/cw_solana/lib/default_spl_tokens.dart b/cw_solana/lib/default_spl_tokens.dart index 4f1a9b29b..9b61418b8 100644 --- a/cw_solana/lib/default_spl_tokens.dart +++ b/cw_solana/lib/default_spl_tokens.dart @@ -43,7 +43,7 @@ class DefaultSPLTokens { mintAddress: '2FPyTwcZLUg1MDrwsyoP4D6s1tM7hAkHYRjkNb5w6Pxk', decimal: 6, mint: 'soEth', - iconPath: 'assets/images/eth_icon.png', + iconPath: 'assets/images/crypto/ethereum.webp', enabled: false, ), SPLToken( @@ -52,7 +52,7 @@ class DefaultSPLTokens { mintAddress: 'So11111111111111111111111111111111111111112', decimal: 9, mint: 'WSOL', - iconPath: 'assets/images/sol_icon.png', + iconPath: 'assets/images/crypto/solana.webp', enabled: false, ), SPLToken( @@ -61,7 +61,7 @@ class DefaultSPLTokens { mintAddress: '9n4nbM75f5Ui33ZbPYXn59EwSgE8CGsHtAeTH5YFeJ9E', decimal: 6, mint: 'btcsol', - iconPath: 'assets/images/btc.png', + iconPath: 'assets/images/crypto/bitcoin.webp', enabled: false, ), SPLToken( diff --git a/lib/src/screens/dashboard/desktop_widgets/desktop_wallet_selection_dropdown.dart b/lib/src/screens/dashboard/desktop_widgets/desktop_wallet_selection_dropdown.dart index 3f267087e..b77346a30 100644 --- a/lib/src/screens/dashboard/desktop_widgets/desktop_wallet_selection_dropdown.dart +++ b/lib/src/screens/dashboard/desktop_widgets/desktop_wallet_selection_dropdown.dart @@ -30,24 +30,24 @@ class DesktopWalletSelectionDropDown extends StatefulWidget { } class _DesktopWalletSelectionDropDownState extends State { - final moneroIcon = Image.asset('assets/images/crypto/monero.png', height: 24, width: 24); - final bitcoinIcon = Image.asset('assets/images/crypto/bitcoin.png', height: 24, width: 24); + final moneroIcon = Image.asset('assets/images/crypto/monero.webp', height: 24, width: 24); + final bitcoinIcon = Image.asset('assets/images/crypto/bitcoin.webp', height: 24, width: 24); final tBitcoinIcon = Image.asset('assets/images/tbtc.png', height: 24, width: 24); - final litecoinIcon = Image.asset('assets/images/crypto/litecoin.png', height: 24, width: 24); - final havenIcon = Image.asset('assets/images/haven_logo.png', height: 24, width: 24); - final ethereumIcon = Image.asset('assets/images/crypto/ethereum.png', height: 24, width: 24); - final polygonIcon = Image.asset('assets/images/crypto/polygon.png', height: 24, width: 24); - final bitcoinCashIcon = Image.asset('assets/images/crypto/bitcoin-cash.png', height: 24, width: 24); - final baseIcon = Image.asset('assets/images/base_icon.png', height: 24, width: 24); - final nanoIcon = Image.asset('assets/images/crypto/nano.png', height: 24, width: 24); - final bananoIcon = Image.asset('assets/images/crypto/nano.png', height: 24, width: 24); - final solanaIcon = Image.asset('assets/images/crypto/solana.png', height: 24, width: 24); - final tronIcon = Image.asset('assets/images/crypto/tron.png', height: 24, width: 24); - final wowneroIcon = Image.asset('assets/images/crypto/wownero.png', height: 24, width: 24); - final zanoIcon = Image.asset('assets/images/crypto/zano.png', height: 24, width: 24); - final decredIcon = Image.asset('assets/images/crypto/decred.png', height: 24, width: 24); - final dogeIcon = Image.asset('assets/images/crypto/dogecoin.png', height: 24, width: 24); - final nonWalletTypeIcon = Image.asset('assets/images/close.png', height: 24, width: 24); + final litecoinIcon = Image.asset('assets/images/crypto/litecoin.webp', height: 24, width: 24); + final havenIcon = Image.asset('assets/images/haven_logo.webp', height: 24, width: 24); + final ethereumIcon = Image.asset('assets/images/crypto/ethereum.webp', height: 24, width: 24); + final polygonIcon = Image.asset('assets/images/crypto/polygon.webp', height: 24, width: 24); + final bitcoinCashIcon = Image.asset('assets/images/crypto/bitcoin-cash.webp', height: 24, width: 24); + final baseIcon = Image.asset('assets/images/crypto/base_icon.webp', height: 24, width: 24); + final nanoIcon = Image.asset('assets/images/crypto/nano.webp', height: 24, width: 24); + final bananoIcon = Image.asset('assets/images/crypto/nano.webp', height: 24, width: 24); + final solanaIcon = Image.asset('assets/images/crypto/solana.webp', height: 24, width: 24); + final tronIcon = Image.asset('assets/images/crypto/tron.webp', height: 24, width: 24); + final wowneroIcon = Image.asset('assets/images/crypto/wownero.webp', height: 24, width: 24); + final zanoIcon = Image.asset('assets/images/crypto/zano.webp', height: 24, width: 24); + final decredIcon = Image.asset('assets/images/crypto/decred.webp', height: 24, width: 24); + final dogeIcon = Image.asset('assets/images/crypto/dogecoin.webp', height: 24, width: 24); + final nonWalletTypeIcon = Image.asset('assets/images/close.webp', height: 24, width: 24); Image _newWalletImage(BuildContext context) => Image.asset( 'assets/images/new_wallet.png', diff --git a/lib/src/screens/dashboard/widgets/menu_widget.dart b/lib/src/screens/dashboard/widgets/menu_widget.dart index 4bf7be545..fcf95d8a4 100644 --- a/lib/src/screens/dashboard/widgets/menu_widget.dart +++ b/lib/src/screens/dashboard/widgets/menu_widget.dart @@ -24,22 +24,22 @@ class MenuWidgetState extends State { this.tileHeight = 60, this.fromTopEdge = 50, this.fromBottomEdge = 25, - this.moneroIcon = Image.asset('assets/images/crypto/monero.png'), - this.bitcoinIcon = Image.asset('assets/images/crypto/bitcoin.png'), - this.litecoinIcon = Image.asset('assets/images/crypto/litecoin.png'), - this.havenIcon = Image.asset('assets/images/haven_menu.png'), - this.ethereumIcon = Image.asset('assets/images/crypto/ethereum.png'), - this.nanoIcon = Image.asset('assets/images/crypto/nano.png'), - this.bananoIcon = Image.asset('assets/images/crypto/nano.png'), - this.bitcoinCashIcon = Image.asset('assets/images/crypto/bitcoin-cash.png'), - this.polygonIcon = Image.asset('assets/images/crypto/polygon.png'), - this.baseIcon = Image.asset('assets/images/base_icon.png'), - this.solanaIcon = Image.asset('assets/images/crypto/solana.png'), - this.tronIcon = Image.asset('assets/images/crypto/tron.png'), - this.wowneroIcon = Image.asset('assets/images/crypto/wownero.png'), - this.zanoIcon = Image.asset('assets/images/crypto/zano.png'), - this.decredIcon = Image.asset('assets/images/crypto/decred.png'), - this.dogecoinIcon = Image.asset('assets/images/crypto/dogecoin.png'); + this.moneroIcon = Image.asset('assets/images/crypto/monero.webp'), + this.bitcoinIcon = Image.asset('assets/images/crypto/bitcoin.webp'), + this.litecoinIcon = Image.asset('assets/images/crypto/litecoin.webp'), + this.havenIcon = Image.asset('assets/images/haven_menu.webp'), + this.ethereumIcon = Image.asset('assets/images/crypto/ethereum.webp'), + this.nanoIcon = Image.asset('assets/images/crypto/nano.webp'), + this.bananoIcon = Image.asset('assets/images/crypto/nano.webp'), + this.bitcoinCashIcon = Image.asset('assets/images/crypto/bitcoin-cash.webp'), + this.polygonIcon = Image.asset('assets/images/crypto/polygon.webp'), + this.baseIcon = Image.asset('assets/images/crypto/base_icon.webp'), + this.solanaIcon = Image.asset('assets/images/crypto/solana.webp'), + this.tronIcon = Image.asset('assets/images/crypto/tron.webp'), + this.wowneroIcon = Image.asset('assets/images/crypto/wownero.webp'), + this.zanoIcon = Image.asset('assets/images/crypto/zano.webp'), + this.decredIcon = Image.asset('assets/images/crypto/decred.webp'), + this.dogecoinIcon = Image.asset('assets/images/crypto/dogecoin.webp'); final largeScreen = 731; @@ -116,8 +116,8 @@ class MenuWidgetState extends State { } int itemCount = items.length; - moneroIcon = Image.asset('assets/images/crypto/monero.png'); - bitcoinIcon = Image.asset('assets/images/crypto/bitcoin.png'); + moneroIcon = Image.asset('assets/images/crypto/monero.webp'); + bitcoinIcon = Image.asset('assets/images/crypto/bitcoin.webp'); return Row( mainAxisSize: MainAxisSize.max, diff --git a/lib/src/screens/settings/widgets/settings_theme_choice.dart b/lib/src/screens/settings/widgets/settings_theme_choice.dart index 0536ae9f2..ed6d8ca66 100644 --- a/lib/src/screens/settings/widgets/settings_theme_choice.dart +++ b/lib/src/screens/settings/widgets/settings_theme_choice.dart @@ -85,7 +85,6 @@ class SettingsThemeChoicesCell extends StatelessWidget { style: Theme.of(context).textTheme.bodyMedium, ), Container( - height: 40, child: Row( children: availableAccentColors.map((accentColor) { final isSelected = _displaySettingsViewModel diff --git a/lib/src/screens/support/support_page.dart b/lib/src/screens/support/support_page.dart index 44975d53e..7437430cb 100644 --- a/lib/src/screens/support/support_page.dart +++ b/lib/src/screens/support/support_page.dart @@ -20,16 +20,16 @@ class SupportPage extends BasePage { AppBarStyle get appBarStyle => AppBarStyle.regular; String get _imageSupportChat => currentTheme.isDark - ? 'assets/images/support_chat_dark.svg' - : 'assets/images/support_chat.svg'; + ? 'assets/images/support_chat_dark.webp' + : 'assets/images/support_chat.webp'; String get _imageSupportDocs => currentTheme.isDark - ? 'assets/images/support_docs_dark.svg' - : 'assets/images/support_docs.svg'; + ? 'assets/images/support_docs_dark.webp' + : 'assets/images/support_docs.webp'; String get _imageSupportLinks => currentTheme.isDark - ? 'assets/images/support_links_dark.svg' - : 'assets/images/support_links.svg'; + ? 'assets/images/support_links_dark.webp' + : 'assets/images/support_links.webp'; @override Widget body(BuildContext context) => Center( @@ -40,7 +40,7 @@ class SupportPage extends BasePage { Padding( padding: const EdgeInsets.only(top: 20), child: OptionTile( - image: SvgPicture.asset(_imageSupportChat, width: 55, height: 55), + image: Image.asset(_imageSupportChat, width: 55, height: 55), title: S.of(context).support_title_live_chat, description: S.of(context).support_description_live_chat, onPressed: () => _onPressedSupportChat(context), @@ -49,7 +49,7 @@ class SupportPage extends BasePage { Padding( padding: const EdgeInsets.only(top: 20), child: OptionTile( - image: SvgPicture.asset(_imageSupportDocs, width: 55, height: 55), + image: Image.asset(_imageSupportDocs, width: 55, height: 55), title: S.of(context).support_title_guides, description: S.of(context).support_description_guides, onPressed: () => _launchUrl(supportViewModel.docsUrl), @@ -58,7 +58,7 @@ class SupportPage extends BasePage { Padding( padding: const EdgeInsets.only(top: 20), child: OptionTile( - image: SvgPicture.asset(_imageSupportLinks, width: 55, height: 55), + image: Image.asset(_imageSupportLinks, width: 55, height: 55), title: S.of(context).support_title_other_links, description: S.of(context).support_description_other_links, onPressed: () => Navigator.pushNamed(context, Routes.supportOtherLinks), diff --git a/lib/src/widgets/setting_actions.dart b/lib/src/widgets/setting_actions.dart index 78f1ee142..2e46d05ba 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.png', + image: 'assets/images/crypto/bitcoin.webp', onTap: (BuildContext context) { Navigator.of(context).pushNamed(Routes.silentPaymentsSettings); }, @@ -43,7 +43,7 @@ class SettingActions { static SettingActions exportOutputsAction = SettingActions._( key: ValueKey('dashboard_page_menu_widget_export_outputs_settings_button_key'), name: (context) => S.of(context).export_outputs, - image: 'assets/images/crypto/monero.png', + image: 'assets/images/crypto/monero.webp', onTap: (BuildContext context) { Navigator.of(context) .pushNamed(Routes.urqrAnimatedPage, arguments: {'export-outputs': 'export-outputs'}); @@ -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.png', + image: 'assets/images/crypto/litecoin.webp', onTap: (BuildContext context) { Navigator.of(context).pushNamed(Routes.mwebSettings); },