Updated on 2026-08-14
This commit is contained in:
parent
5b516f2c9b
commit
a82d8cdbba
43 changed files with 829 additions and 89 deletions
|
|
@ -53,6 +53,7 @@ sealed class AppRoute(val path: String) : Route {
|
|||
@Serializable
|
||||
data class Disclaimer(
|
||||
val isTosAccepted: Boolean,
|
||||
val nextRoute: AppRoute? = null,
|
||||
) : AppRoute(path = "/disclaimer${if (isTosAccepted) "/tos_accepted" else ""}")
|
||||
|
||||
@Serializable
|
||||
|
|
@ -405,13 +406,14 @@ sealed class AppRoute(val path: String) : Route {
|
|||
val analyticsSource: String,
|
||||
val analyticsAction: String,
|
||||
val isUpgradeFlow: Boolean = false,
|
||||
val shouldSetAccessCode: Boolean = false,
|
||||
val nextScreen: AppRoute? = null,
|
||||
) : AppRoute(path = "/create_wallet_backup/${userWalletId.stringValue}")
|
||||
|
||||
@Serializable
|
||||
data class UpdateAccessCode(
|
||||
val userWalletId: UserWalletId,
|
||||
val source: String,
|
||||
val nextScreen: AppRoute? = null,
|
||||
) : AppRoute(path = "/update_access_code/${userWalletId.stringValue}")
|
||||
|
||||
@Serializable
|
||||
|
|
@ -457,6 +459,9 @@ sealed class AppRoute(val path: String) : Route {
|
|||
val status: AccountStatus.Payment,
|
||||
) : AppRoute(path = "/tangem_pay_details/${status.account}")
|
||||
|
||||
@Serializable
|
||||
data object TangemPayHotWalletOnboarding : AppRoute(path = "/tangem_pay_hot_wallet_onboarding")
|
||||
|
||||
@Serializable
|
||||
data class TangemPayOnboarding(
|
||||
val mode: Mode,
|
||||
|
|
@ -474,6 +479,11 @@ sealed class AppRoute(val path: String) : Route {
|
|||
val userWalletId: UserWalletId,
|
||||
) : Mode()
|
||||
|
||||
@Serializable
|
||||
data class FirstSetup(
|
||||
val userWalletId: UserWalletId,
|
||||
) : Mode()
|
||||
|
||||
@Serializable
|
||||
data object FromBannerOnMain : Mode()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue