From ca7cdb8e14532de0d8baecae8e7ff5e2405e0390 Mon Sep 17 00:00:00 2001 From: Tangem Date: Wed, 22 May 2024 14:15:44 +0100 Subject: [PATCH] Updated on 2026-08-14 --- .../data/tokens/utils/ResponseCryptoCurrenciesFactory.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/data/tokens/src/main/kotlin/com/tangem/data/tokens/utils/ResponseCryptoCurrenciesFactory.kt b/data/tokens/src/main/kotlin/com/tangem/data/tokens/utils/ResponseCryptoCurrenciesFactory.kt index fd7493005d..97c5d2ed4d 100644 --- a/data/tokens/src/main/kotlin/com/tangem/data/tokens/utils/ResponseCryptoCurrenciesFactory.kt +++ b/data/tokens/src/main/kotlin/com/tangem/data/tokens/utils/ResponseCryptoCurrenciesFactory.kt @@ -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 }