Updated on 2026-08-14

This commit is contained in:
Tangem 2023-05-24 21:27:50 +05:00
parent 3992cbf386
commit c1f4cb7388
9 changed files with 174 additions and 2 deletions

View file

@ -41,6 +41,8 @@ fun Blockchain.getGreyedOutIconRes(): Int {
Blockchain.Kava, Blockchain.KavaTestnet -> R.drawable.ic_kava_no_color
Blockchain.Ravencoin, Blockchain.RavencoinTestnet -> R.drawable.ic_ravencoin_no_color
Blockchain.Cosmos, Blockchain.CosmosTestnet -> R.drawable.ic_cosmos_no_color
Blockchain.TerraV1 -> R.drawable.ic_terra_no_color
Blockchain.TerraV2 -> R.drawable.ic_terra2_no_color
else -> R.drawable.ic_tangem_logo
}
}

View file

@ -48,7 +48,10 @@ class TransactionExtrasReducer : SendInternalReducer {
Blockchain.Stellar -> TransactionExtrasState(xlmMemo = XlmMemoState())
Blockchain.Binance -> TransactionExtrasState(binanceMemo = BinanceMemoState())
Blockchain.TON, Blockchain.TONTestnet -> TransactionExtrasState(tonMemoState = TonMemoState())
Blockchain.Cosmos -> TransactionExtrasState(cosmosMemoState = CosmosMemoState())
Blockchain.Cosmos,
Blockchain.TerraV1,
Blockchain.TerraV2,
-> TransactionExtrasState(cosmosMemoState = CosmosMemoState())
else -> emptyResult
}
return updateLastState(sendState.copy(transactionExtrasState = result), result)