Updated on 2026-08-14

This commit is contained in:
Tangem 2025-10-21 14:44:33 +07:00
parent 62fca32e89
commit b27e8171fb
19 changed files with 337 additions and 200 deletions

View file

@ -22,7 +22,12 @@ interface PortfolioFetcher {
val appCurrency: AppCurrency,
val isBalanceHidden: Boolean,
val balances: Map<UserWallet, PortfolioBalance>,
)
) {
val isSingleChoice: Boolean = balances.values
.map { it.accountsBalance.accountStatuses }
.flatten().size == 1
}
data class PortfolioBalance(
val userWallet: UserWallet,