Procházet zdrojové kódy

VLCSettingsController: Disable passcode lock when no PIN is set

(closes #513)
David Cordero před 6 roky
rodič
revize
abf9e7f80d
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  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