Updated on 2026-08-14

This commit is contained in:
Tangem 2023-10-19 16:50:30 +03:00
parent 51cf112fff
commit bb73fe72fd
2 changed files with 11 additions and 2 deletions

View file

@ -34,4 +34,8 @@ data class UserWallet(
/** Indicated if this primary card is imported */
val isImported: Boolean get() = scanResponse.card.wallets.any(CardDTO.Wallet::isImported)
fun isSingleWalletWithTokens(): Boolean {
return scanResponse.walletData?.token != null && !isMultiCurrency
}
}