Enable the App Lock feature. (#1990)

This commit is contained in:
Doug
2023-10-31 08:55:30 +00:00
committed by GitHub
parent dbc1704751
commit cbb9c270f9
17 changed files with 20 additions and 49 deletions

View File

@@ -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)