Updated on 2026-08-14
This commit is contained in:
parent
173ea35019
commit
feb4cf76c9
3 changed files with 137 additions and 103 deletions
|
|
@ -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")
|
||||
Loading…
Add table
Add a link
Reference in a new issue