Enable the App Lock feature. (#1990)

This commit is contained in:
Doug
2023-10-31 08:55:30 +00:00
committed by GitHub
parent 4f0ed94eaa
commit af3732541e
17 changed files with 20 additions and 49 deletions
@@ -149,9 +149,7 @@ class AppCoordinator: AppCoordinatorProtocol, AuthenticationCoordinatorDelegate,
return
}
if appSettings.appLockFlowEnabled,
appSettings.appLockIsMandatory,
!appLockFlowCoordinator.appLockService.isEnabled {
if appSettings.appLockIsMandatory, !appLockFlowCoordinator.appLockService.isEnabled {
stateMachine.processEvent(.startWithAppLockSetup)
} else {
stateMachine.processEvent(.startWithExistingSession)