Updated on 2026-08-14
This commit is contained in:
parent
5936456a0b
commit
adb0582bde
1 changed files with 0 additions and 4 deletions
|
|
@ -106,12 +106,8 @@ internal class OnboardingMultiWalletModel @Inject constructor(
|
|||
private fun getInitialStep(): OnboardingMultiWalletState.Step {
|
||||
val scanResponse = params.scanResponse
|
||||
val card = scanResponse.card
|
||||
val backupService = backupServiceHolder.backupService.get()!!
|
||||
|
||||
return when {
|
||||
// interrupted backup
|
||||
backupService.hasIncompletedBackup -> OnboardingMultiWalletState.Step.Finalize
|
||||
|
||||
// Add backup button
|
||||
// Wallet1 without backup and userwallet's scanResponse doesn't contain primary card.
|
||||
card.wallets.isNotEmpty() && card.backupStatus == CardDTO.BackupStatus.NoBackup &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue