Updated on 2026-08-14

This commit is contained in:
Tangem 2022-04-25 21:42:12 +04:00
parent 173ea35019
commit feb4cf76c9
3 changed files with 137 additions and 103 deletions

View file

@ -2,6 +2,7 @@ package com.tangem.tap.common.extensions
import androidx.annotation.DrawableRes
import com.tangem.blockchain.common.Blockchain
import com.tangem.common.extensions.remove
import com.tangem.wallet.R
@DrawableRes
@ -57,4 +58,7 @@ fun Blockchain.getNetworkName(): String {
Blockchain.Binance, Blockchain.BinanceTestnet -> "BEP2"
else -> ""
}
}
}
val Blockchain.fullNameWithoutTestnet
get() = this.fullName.remove(" Testnet")