Skip to content

Commit bc96996

Browse files
committed
fixed bug with wrong asset balance in asset management
1 parent b638e0b commit bc96996

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ buildscript {
66
ext {
77
// App version
88
versionName = '3.5.6'
9-
versionCode = 187
9+
versionCode = 188
1010

1111
// SDK and tools
1212
compileSdkVersion = 34

feature-wallet-impl/src/main/java/jp/co/soramitsu/wallet/impl/presentation/manageassets/ManageAssetsViewModel.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ class ManageAssetsViewModel @Inject constructor(
125125
}.toList()
126126

127127
filteredChainAssets.map { chainAsset ->
128-
val asset = assets.find { chainAsset.id == it.asset.token.configuration.id }
128+
val asset = assets.find { chainAsset.id == it.asset.token.configuration.id && chainAsset.chainId == it.asset.token.configuration.chainId }
129129
chainAsset to asset
130130
}.sortedWith(compareBy<Pair<jp.co.soramitsu.core.models.Asset, AssetWithStatus?>> {
131131
it.second == null

0 commit comments

Comments
 (0)