From 9a9f71ea3e10518cb0251194d73c6b4bf2e1fbc0 Mon Sep 17 00:00:00 2001 From: ryleedavis Date: Fri, 24 Feb 2023 15:11:04 -0700 Subject: [PATCH] fix coin image issue --- assets/images/forest/bitcoin.svg | 74 +++--- assets/images/forest/bitcoincash.svg | 42 ++-- assets/images/forest/ethereum.svg | 150 ++++++------ assets/images/forest/firo.svg | 92 ++++---- assets/images/forest/particl.svg | 64 ++--- assets/images/forest/stack.svg | 223 +++++++++++++++++- assets/images/forest/wownero.svg | 66 +++--- .../sub_widgets/coin_image.dart | 2 +- 8 files changed, 467 insertions(+), 246 deletions(-) diff --git a/assets/images/forest/bitcoin.svg b/assets/images/forest/bitcoin.svg index 11b4e0b1e..09a56308d 100644 --- a/assets/images/forest/bitcoin.svg +++ b/assets/images/forest/bitcoin.svg @@ -1,4 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -87,41 +124,4 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/assets/images/forest/bitcoincash.svg b/assets/images/forest/bitcoincash.svg index fec0dcfe1..3fa8aed39 100644 --- a/assets/images/forest/bitcoincash.svg +++ b/assets/images/forest/bitcoincash.svg @@ -1,4 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + @@ -100,25 +121,4 @@ - - - - - - - - - - - - - - - - - - - - - diff --git a/assets/images/forest/ethereum.svg b/assets/images/forest/ethereum.svg index 0f6cc2c7a..8ffac3415 100644 --- a/assets/images/forest/ethereum.svg +++ b/assets/images/forest/ethereum.svg @@ -1,79 +1,4 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -240,4 +165,79 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/forest/firo.svg b/assets/images/forest/firo.svg index d1bddcd74..205772a2e 100644 --- a/assets/images/forest/firo.svg +++ b/assets/images/forest/firo.svg @@ -1,4 +1,50 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -77,50 +123,4 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/assets/images/forest/particl.svg b/assets/images/forest/particl.svg index 0084fa615..fa5773d0b 100644 --- a/assets/images/forest/particl.svg +++ b/assets/images/forest/particl.svg @@ -1,4 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -248,36 +280,4 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/assets/images/forest/stack.svg b/assets/images/forest/stack.svg index cbb754036..0c1c482c6 100644 --- a/assets/images/forest/stack.svg +++ b/assets/images/forest/stack.svg @@ -1 +1,222 @@ - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/forest/wownero.svg b/assets/images/forest/wownero.svg index 7bcf97568..6056b86e9 100644 --- a/assets/images/forest/wownero.svg +++ b/assets/images/forest/wownero.svg @@ -1,4 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -184,37 +217,4 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/pages/add_wallet_views/create_or_restore_wallet_view/sub_widgets/coin_image.dart b/lib/pages/add_wallet_views/create_or_restore_wallet_view/sub_widgets/coin_image.dart index 1645c06f0..d991fc669 100644 --- a/lib/pages/add_wallet_views/create_or_restore_wallet_view/sub_widgets/coin_image.dart +++ b/lib/pages/add_wallet_views/create_or_restore_wallet_view/sub_widgets/coin_image.dart @@ -27,7 +27,7 @@ class CoinImage extends ConsumerWidget { coin != Coin.epicCash && coin != Coin.monero && coin != Coin.namecoin) || - isForest) + (isForest && coin != Coin.dogecoin)) ? SvgPicture.asset( Assets.svg.imageFor(coin: coin, context: context), width: isDesktop ? 324 : MediaQuery.of(context).size.width,