Commit 7b6d6384 authored by Soomin Lee's avatar Soomin Lee Committed by Jean-Baptiste Kempf

iOS: Passcode setting off on cancel (closes #18137)

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <>
parent 13dd845b
......@@ -94,6 +94,9 @@
- (void)PAPasscodeViewControllerDidCancel:(PAPasscodeViewController *)controller
[[VLCKeychainCoordinator defaultCoordinator] setPasscode:nil];
//Set manually the value to NO to disable the UISwitch.
[[NSUserDefaults standardUserDefaults] setBool:NO forKey:kVLCSettingPasscodeOnKey];
[self didChangePasscodeStatus:NO];
[controller dismissViewControllerAnimated:YES completion:nil];
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment