Updated on 2026-08-14
This commit is contained in:
parent
6bc907fe3c
commit
03dd99fa45
1 changed files with 2 additions and 0 deletions
|
|
@ -8,6 +8,7 @@ import com.tangem.wallet.R
|
||||||
@DrawableRes
|
@DrawableRes
|
||||||
fun Blockchain.getRoundIconRes(): Int {
|
fun Blockchain.getRoundIconRes(): Int {
|
||||||
return when (this) {
|
return when (this) {
|
||||||
|
Blockchain.Arbitrum, Blockchain.ArbitrumTestnet -> R.drawable.ic_arbitrum_round
|
||||||
Blockchain.Ducatus -> R.drawable.ic_ducatus
|
Blockchain.Ducatus -> R.drawable.ic_ducatus
|
||||||
Blockchain.Bitcoin, Blockchain.BitcoinTestnet,-> R.drawable.ic_bitcoin_round
|
Blockchain.Bitcoin, Blockchain.BitcoinTestnet,-> R.drawable.ic_bitcoin_round
|
||||||
Blockchain.BitcoinCash -> R.drawable.ic_bitcoin_cash_round
|
Blockchain.BitcoinCash -> R.drawable.ic_bitcoin_cash_round
|
||||||
|
|
@ -33,6 +34,7 @@ fun Blockchain.getRoundIconRes(): Int {
|
||||||
@DrawableRes
|
@DrawableRes
|
||||||
fun Blockchain.getGreyedOutIconRes(): Int {
|
fun Blockchain.getGreyedOutIconRes(): Int {
|
||||||
return when (this) {
|
return when (this) {
|
||||||
|
Blockchain.Arbitrum, Blockchain.ArbitrumTestnet -> R.drawable.ic_arbitrum_no_color
|
||||||
// Blockchain.Ducatus -> R.drawable.ic_ducatus
|
// Blockchain.Ducatus -> R.drawable.ic_ducatus
|
||||||
Blockchain.Bitcoin, Blockchain.BitcoinTestnet,-> R.drawable.ic_bitcoin_no_color
|
Blockchain.Bitcoin, Blockchain.BitcoinTestnet,-> R.drawable.ic_bitcoin_no_color
|
||||||
Blockchain.BitcoinCash -> R.drawable.ic_bitcoin_cash_no_color
|
Blockchain.BitcoinCash -> R.drawable.ic_bitcoin_cash_no_color
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue