Updated on 2026-08-14

This commit is contained in:
Tangem 2024-05-22 14:15:44 +01:00
parent eecd4c92d3
commit ca7cdb8e14

View file

@ -87,7 +87,7 @@ class ResponseCryptoCurrenciesFactory {
private fun Blockchain.getNameForCoin(responseToken: UserTokensResponse.Token): String {
return when (this) {
// workaround: Dischain was renamed but backend still returns the old name,
// workaround: for Blockchains full name different than backend name,
// get name and symbol from enum Blockchain until backend renamed
// [REDACTED_JIRA]
Blockchain.Dischain,
@ -103,6 +103,8 @@ class ResponseCryptoCurrenciesFactory {
Blockchain.PolygonZkEVMTestnet,
Blockchain.Base,
Blockchain.BaseTestnet,
Blockchain.Telos,
Blockchain.Cronos,
-> this.fullName
else -> responseToken.name
}