Updated on 2026-08-14
This commit is contained in:
parent
82d2b4c9d7
commit
c6ce899e8f
2 changed files with 22 additions and 6 deletions
|
|
@ -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 &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue