Updated on 2026-08-14
This commit is contained in:
parent
34aa80f961
commit
9b99deaa98
2 changed files with 2 additions and 5 deletions
|
|
@ -81,15 +81,11 @@ internal class AddToPortfolioBSContentUMFactory(
|
|||
userWalletId = selectedWallet.walletId,
|
||||
),
|
||||
onContinueButtonClick = {
|
||||
val alreadyAddedNetworkIds = portfolioData.walletsWithCurrencies[selectedWallet].orEmpty()
|
||||
.map { it.status.currency.network.backendId }
|
||||
.toSet()
|
||||
|
||||
onContinueClick(
|
||||
selectedWallet.walletId,
|
||||
portfolioUIData.addToPortfolioData.getAddedNetworks(
|
||||
userWalletId = selectedWallet.walletId,
|
||||
alreadyAddedNetworkIds = alreadyAddedNetworkIds,
|
||||
alreadyAddedNetworkIds = alreadyAddedNetworks,
|
||||
),
|
||||
)
|
||||
},
|
||||
|
|
|
|||
|
|
@ -99,6 +99,7 @@ internal class MyPortfolioUMFactory(
|
|||
|
||||
val alreadyAddedNetworks = portfolioData.walletsWithCurrencies
|
||||
.filterAvailableNetworks(availableNetworks)[selectedWallet]
|
||||
?.filter { !it.status.currency.isCustom }
|
||||
?.map { it.status.currency.network.backendId }
|
||||
?.toSet()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue