From b2f42e975c475d63eceb4f99613e35eefc6fd681 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 d94a6ed30..8080d4493 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() } }