Updated on 2026-08-14

This commit is contained in:
Tangem 2022-02-02 13:21:30 +03:00
parent a1e86cb6fc
commit 53ed62b84d
3 changed files with 28 additions and 3 deletions

View file

@ -0,0 +1,17 @@
package com.tangem.tap.domain.extensions
import com.tangem.blockchain.common.Token
/**
[REDACTED_AUTHOR]
*/
private val tokenCustomIconUrls = mutableMapOf<String, String>()
fun Token.getCustomIconUrl(): String? {
return tokenCustomIconUrls[this.contractAddress]
}
fun Token.setCustomIconUrl(url: String) {
tokenCustomIconUrls[this.contractAddress] = url
}