Skip to content

Commit

Permalink
fixed setting correct keys
Browse files Browse the repository at this point in the history
  • Loading branch information
hosy committed Aug 3, 2023
1 parent b3458ae commit c9e2e79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ownCloudAppFramework/AppLock Settings/AppLockSettings.m
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ + (OCClassSettingsIdentifier)classSettingsIdentifier
{
return (@{
OCClassSettingsKeyPasscodeEnforced : @(NO),
OCClassSettingsKeyRequiredPasscodeDigits : @(NO),
OCClassSettingsKeyPasscodeEnforcedByDevice : @(NO),
OCClassSettingsKeyRequiredPasscodeDigits : @(4),
OCClassSettingsKeyMaximumPasscodeDigits : @(6),
OCClassSettingsKeyPasscodeUseBiometricalUnlock : @(NO),
Expand Down Expand Up @@ -83,7 +83,7 @@ + (OCClassSettingsMetadataCollection)classSettingsMetadata
OCClassSettingsMetadataKeyCategory : @"Passcode"
},

OCClassSettingsKeyRequiredPasscodeDigits : @{
OCClassSettingsKeyPasscodeEnforcedByDevice : @{
OCClassSettingsMetadataKeyType : OCClassSettingsMetadataTypeBoolean,
OCClassSettingsMetadataKeyDescription : @"Controls wether the user MUST establish a passcode upon app installation, if NO device passcode protection is set.",
OCClassSettingsMetadataKeyStatus : OCClassSettingsKeyStatusAdvanced,
Expand Down

0 comments on commit c9e2e79

Please sign in to comment.