Updated on 2026-08-14
This commit is contained in:
parent
1858d5453a
commit
90abe449d6
23 changed files with 1741 additions and 11 deletions
|
|
@ -0,0 +1,21 @@
|
|||
package com.tangem.domain.models.wallet
|
||||
|
||||
/**
|
||||
* Represents the icon of a user wallet, which can be of different types such as hot, stub, default, or colored.
|
||||
*/
|
||||
sealed class UserWalletIcon {
|
||||
data object Hot : UserWalletIcon()
|
||||
data class Stub(val cardsCount: Int) : UserWalletIcon()
|
||||
|
||||
data class Default(
|
||||
val isRing: Boolean,
|
||||
val cardsCount: Int,
|
||||
) : UserWalletIcon()
|
||||
|
||||
data class Colored(
|
||||
val isRing: Boolean,
|
||||
val mainColor: String,
|
||||
val secondColor: String? = null,
|
||||
val thirdColor: String? = null,
|
||||
) : UserWalletIcon()
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue