Updated on 2026-08-14

This commit is contained in:
Tangem 2025-01-14 13:45:57 +03:00
parent 113c9cb46e
commit 4192ccab33
34 changed files with 444 additions and 81 deletions

View file

@ -323,11 +323,16 @@ sealed class AppRoute(val path: String) : Route {
val userWalletId: UserWalletId,
) : AppRoute(path = "/swap_crypto/${userWalletId.stringValue}")
// Onboarding V2
/**
* Onboarding V2
* @property scanResponse scan response, determines onboarding route by the product type
* @property startFromBackup (MultiWallet param, doesn't affect other types) start onboarding from backup
* @property mode (MultiWallet param, doesn't affect other types) onboarding mode
*/
@Serializable
data class Onboarding(
val scanResponse: ScanResponse,
val startFromBackup: Boolean,
val startFromBackup: Boolean = false,
val mode: Mode = Mode.Onboarding,
) : AppRoute(path = "/onboarding_v2${if (startFromBackup) "/backup" else ""}") {