Updated on 2026-08-14

This commit is contained in:
Tangem 2022-12-13 21:41:43 +03:00
parent 888f62179b
commit 22e43fe7d7
12 changed files with 77 additions and 14 deletions

View file

@ -13,6 +13,7 @@ import com.tangem.domain.common.util.UserWalletId
* TODO: Replace with [com.tangem.domain.common.CardDTO]
* @property cardId ID of user's wallet primary card
* @property hasAccessCode Indicates if the user's wallet primary card has access code
* @property isLocked Indicates if this primary card has no currency wallets
* @property isSaved Indicates if this user wallet is saved
* */
data class UserWallet(
@ -28,5 +29,8 @@ data class UserWallet(
val hasAccessCode: Boolean
get() = scanResponse.card.isAccessCodeSet
val isLocked: Boolean
get() = scanResponse.card.wallets.isEmpty()
internal var isSaved: Boolean = true
}