Tweak the onboarding flow identity confirmation screen

- hide the recovery key option if recovery wasn't set up beforehand
- add a button to present the reset encryption instructions screen
This commit is contained in:
Stefan Ceriu
2024-05-24 13:57:40 +03:00
committed by Stefan Ceriu
parent f8d094516d
commit 696d599773
9 changed files with 45 additions and 24 deletions
@@ -212,6 +212,8 @@ class OnboardingFlowCoordinator: FlowCoordinatorProtocol {
case .skip:
appSettings.hasRunIdentityConfirmationOnboarding = true
stateMachine.tryEvent(.next)
case .reset:
presentResetRecoveryKeyScreen()
}
}
.store(in: &cancellables)