Explorar el Código

VLCSettingsController: Disable passcode lock when no PIN is set

(closes #513)
David Cordero hace 6 años
padre
commit
abf9e7f80d
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      Sources/VLCSettingsController.m

+ 1 - 0
Sources/VLCSettingsController.m

@@ -157,6 +157,7 @@ NSString * const kVLCSectionTableHeaderViewIdentifier = @"VLCSectionTableHeaderV
 - (void)PAPasscodeViewControllerDidCancel:(PAPasscodeViewController *)controller
 {
     [self updateForPasscode:nil];
+    [self.settingsStore setBool:false forKey:kVLCSettingPasscodeOnKey];
 }
 
 - (void)PAPasscodeViewControllerDidSetPasscode:(PAPasscodeViewController *)controller