Updated on 2026-08-14

This commit is contained in:
Tangem 2019-01-15 16:03:38 +03:00
parent 9d899467d1
commit ec3fe16009
12 changed files with 606 additions and 15 deletions

View file

@ -106,7 +106,7 @@ class LoadedWallet : Fragment(), NfcAdapter.ReaderCallback, CardProtocol.Notific
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
super.onViewCreated(view, savedInstanceState)
if (ctx.blockchain == Blockchain.Token)
if (ctx.blockchain == Blockchain.Token || ctx.blockchain == Blockchain.RootstockToken)
tvBalance.setSingleLine(false)
ivTangemCard.setImageBitmap(App.localStorage.getCardArtworkBitmap(ctx.card))
@ -705,6 +705,8 @@ class LoadedWallet : Fragment(), NfcAdapter.ReaderCallback, CardProtocol.Notific
Blockchain.Token -> "ethereum"
Blockchain.BitcoinCash -> "bitcoin-cash"
Blockchain.Litecoin -> "litecoin"
Blockchain.Rootstock -> "bitcoin"
Blockchain.RootstockToken ->"bitcoin"
else -> {
throw Exception("Can''t get rate for blockchain " + ctx.blockchainName)
}