Updated on 2026-08-14
This commit is contained in:
parent
eecd4c92d3
commit
ca7cdb8e14
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue