mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-16 17:27:39 +00:00
fix: coin icons for testnet wallets
This commit is contained in:
parent
b946bba01b
commit
f0e16fc7da
2 changed files with 3 additions and 3 deletions
|
@ -39,6 +39,6 @@ final coinIconProvider = Provider.family<String, Coin>((ref, coin) {
|
|||
return assets.ethereum;
|
||||
}
|
||||
} else {
|
||||
return (assets as ThemeAssetsV2).coinIcons[coin]!;
|
||||
return (assets as ThemeAssetsV2).coinIcons[coin.mainNetVersion]!;
|
||||
}
|
||||
});
|
||||
|
|
|
@ -43,7 +43,7 @@ final coinImageProvider = Provider.family<String, Coin>((ref, coin) {
|
|||
return assets.ethereumImage;
|
||||
}
|
||||
} else {
|
||||
return (assets as ThemeAssetsV2).coinImages[coin]!;
|
||||
return (assets as ThemeAssetsV2).coinImages[coin.mainNetVersion]!;
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -87,6 +87,6 @@ final coinImageSecondaryProvider = Provider.family<String, Coin>((ref, coin) {
|
|||
return assets.ethereumImageSecondary;
|
||||
}
|
||||
} else {
|
||||
return (assets as ThemeAssetsV2).coinSecondaryImages[coin]!;
|
||||
return (assets as ThemeAssetsV2).coinSecondaryImages[coin.mainNetVersion]!;
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue