Updated on 2026-08-14
This commit is contained in:
parent
58d7b0f393
commit
94c46ca16d
19 changed files with 61 additions and 126 deletions
|
|
@ -95,15 +95,12 @@ internal class UpdateDataStateTransformer(
|
|||
createNFTsUM(mainAccountCollection).toPersistentList()
|
||||
}
|
||||
|
||||
private fun Account.toAccountPortfolioUM(): NFTCollectionPortfolioUM = NFTCollectionPortfolioUM(
|
||||
private fun Account.CryptoPortfolio.toAccountPortfolioUM(): NFTCollectionPortfolioUM = NFTCollectionPortfolioUM(
|
||||
id = this.accountId.value,
|
||||
title = AccountTitleUM.Account(
|
||||
prefixText = TextReference.EMPTY,
|
||||
name = this.accountName.toUM().value,
|
||||
icon = when (this) {
|
||||
is Account.CryptoPortfolio -> CryptoPortfolioIconConverter.convert(this.icon)
|
||||
is Account.Payment -> TODO("[REDACTED_JIRA]")
|
||||
},
|
||||
icon = CryptoPortfolioIconConverter.convert(this.icon),
|
||||
),
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue