mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Fixes #3126 - Prevent verification state changes other than verified from blocking the user on the session verification screen
This commit is contained in:
committed by
Stefan Ceriu
parent
6b2928a7cb
commit
3c4e9e02bb
@@ -262,8 +262,6 @@ class OnboardingFlowCoordinator: FlowCoordinatorProtocol {
|
|||||||
if value == .verified {
|
if value == .verified {
|
||||||
appSettings.hasRunIdentityConfirmationOnboarding = true
|
appSettings.hasRunIdentityConfirmationOnboarding = true
|
||||||
stateMachine.tryEvent(.nextSkippingIdentityConfimed)
|
stateMachine.tryEvent(.nextSkippingIdentityConfimed)
|
||||||
} else {
|
|
||||||
// Captured by the block below, nil-ing it wouldn't work
|
|
||||||
verificationStateCancellable?.cancel()
|
verificationStateCancellable?.cancel()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user