From 5f2ed07e7b5792cf11ccf8b67a64e4b2e2880780 Mon Sep 17 00:00:00 2001 From: Stefan Ceriu Date: Tue, 3 Sep 2024 15:15:27 +0300 Subject: [PATCH] Fixes #3126 - Prevent verification state changes other than `verified` from blocking the user on the session verification screen --- .../Sources/FlowCoordinators/OnboardingFlowCoordinator.swift | 2 -- 1 file changed, 2 deletions(-) diff --git a/ElementX/Sources/FlowCoordinators/OnboardingFlowCoordinator.swift b/ElementX/Sources/FlowCoordinators/OnboardingFlowCoordinator.swift index d94a6ed307..8080d44935 100644 --- a/ElementX/Sources/FlowCoordinators/OnboardingFlowCoordinator.swift +++ b/ElementX/Sources/FlowCoordinators/OnboardingFlowCoordinator.swift @@ -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() } }