Fixes #3126 - Prevent verification state changes other than verified from blocking the user on the session verification screen

This commit is contained in:
Stefan Ceriu
2024-09-03 15:15:27 +03:00
committed by Stefan Ceriu
parent 6b2928a7cb
commit 3c4e9e02bb
@@ -262,8 +262,6 @@ class OnboardingFlowCoordinator: FlowCoordinatorProtocol {
if value == .verified {
appSettings.hasRunIdentityConfirmationOnboarding = true
stateMachine.tryEvent(.nextSkippingIdentityConfimed)
} else {
// Captured by the block below, nil-ing it wouldn't work
verificationStateCancellable?.cancel()
}
}