Updated on 2026-08-14
This commit is contained in:
parent
410253dc5a
commit
3c3f35aeb6
26 changed files with 589 additions and 63 deletions
|
|
@ -274,14 +274,16 @@ sealed class AppRoute(val path: String) : Route {
|
|||
data class Onboarding(
|
||||
val scanResponse: ScanResponse,
|
||||
val mode: Mode = Mode.Onboarding,
|
||||
) : AppRoute(path = "/onboarding_v2/${mode.name}") {
|
||||
) : AppRoute(path = "/onboarding_v2/$mode") {
|
||||
|
||||
enum class Mode {
|
||||
Onboarding, // general Mode
|
||||
AddBackupWallet1, // continue backup process for existing wallet 1
|
||||
WelcomeOnlyTwin, // show welcome screen and then navigate to wallet for twins
|
||||
RecreateWalletTwin, // reset twins
|
||||
ContinueFinalize, // continue finalize process (unfinished backup dialog)
|
||||
@Serializable
|
||||
sealed class Mode {
|
||||
data object Onboarding : Mode() // general Mode
|
||||
data object AddBackupWallet1 : Mode() // continue backup process for existing wallet 1
|
||||
data object WelcomeOnlyTwin : Mode() // show welcome screen and then navigate to wallet for twins
|
||||
data object RecreateWalletTwin : Mode() // reset twins
|
||||
data object ContinueFinalize : Mode() // continue finalize process (unfinished backup dialog)
|
||||
data class UpgradeHotWallet(val userWalletId: UserWalletId) : Mode() // upgrade hot wallet
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue