Updated on 2026-08-14

This commit is contained in:
Tangem 2025-03-13 18:43:33 +03:00
parent 82d2b4c9d7
commit c6ce899e8f
2 changed files with 22 additions and 6 deletions

View file

@ -25,6 +25,8 @@ data class UserTokensResponse(
override fun equals(other: Any?): Boolean {
val otherToken = other as? Token ?: return false
// use only this fields is enough and correct to compare, don't add id or smth
// to avoid duplicates for tokens on main screen
return otherToken.contractAddress == this.contractAddress &&
otherToken.networkId == this.networkId &&
otherToken.derivationPath == this.derivationPath &&