mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 01:20:12 +00:00
Fix #4528 - Prevent the OnboardingFlowCoordinator from interfering with recovery setup.
This commit is contained in:
committed by
Stefan Ceriu
parent
889f5c570d
commit
8b7b1b5a37
@@ -23,7 +23,7 @@ class OnboardingFlowCoordinator: FlowCoordinatorProtocol {
|
|||||||
private let notificationManager: NotificationManagerProtocol
|
private let notificationManager: NotificationManagerProtocol
|
||||||
private let userIndicatorController: UserIndicatorControllerProtocol
|
private let userIndicatorController: UserIndicatorControllerProtocol
|
||||||
private let windowManager: WindowManagerProtocol
|
private let windowManager: WindowManagerProtocol
|
||||||
private let isNewLogin: Bool
|
private var isNewLogin: Bool
|
||||||
|
|
||||||
private var navigationStackCoordinator: NavigationStackCoordinator!
|
private var navigationStackCoordinator: NavigationStackCoordinator!
|
||||||
|
|
||||||
@@ -219,6 +219,7 @@ class OnboardingFlowCoordinator: FlowCoordinatorProtocol {
|
|||||||
case (_, _, .notificationPermissions):
|
case (_, _, .notificationPermissions):
|
||||||
presentNotificationPermissionsScreen()
|
presentNotificationPermissionsScreen()
|
||||||
case (_, _, .finished):
|
case (_, _, .finished):
|
||||||
|
isNewLogin = false
|
||||||
actionsSubject.send(.dismiss)
|
actionsSubject.send(.dismiss)
|
||||||
stateMachine.tryState(.initial)
|
stateMachine.tryState(.initial)
|
||||||
case (.finished, _, .initial):
|
case (.finished, _, .initial):
|
||||||
|
|||||||
Reference in New Issue
Block a user