mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-23 20:09:23 +00:00
case for coin images without svgs + make svg images bigger
This commit is contained in:
parent
5477f041f8
commit
a195a24bce
1 changed files with 6 additions and 2 deletions
|
@ -21,10 +21,14 @@ class CoinImage extends ConsumerWidget {
|
|||
final bool isSorbet = ref.read(colorThemeProvider.state).state.themeType ==
|
||||
ThemeType.fruitSorbet;
|
||||
|
||||
return isSorbet
|
||||
return (isSorbet &&
|
||||
coin != Coin.epicCash &&
|
||||
coin != Coin.monero &&
|
||||
coin != Coin.litecoin &&
|
||||
coin != Coin.namecoin)
|
||||
? SvgPicture.asset(
|
||||
Assets.svg.imageFor(coin: coin),
|
||||
width: isDesktop ? 324 : MediaQuery.of(context).size.width / 2,
|
||||
width: isDesktop ? 324 : MediaQuery.of(context).size.width,
|
||||
)
|
||||
: Image(
|
||||
image: AssetImage(
|
||||
|
|
Loading…
Reference in a new issue