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 b3a58bb120
commit b2f42e975c

View File

@@ -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()
}
}