Commit 4ac90c59 authored by Felix Paul Kühne's avatar Felix Paul Kühne
Browse files

Fix corner case leading to Touch ID query even if disabled or worse on iOS 7

parent c6a27b93
......@@ -66,7 +66,11 @@ NSString *const VLCPasscode = @"org.videolan.vlc-ios.passcode";
/* our touch ID session is killed by the OS if the app moves to background, so re-init */
if (_inValidation) {
[self _touchIDQuery];
if ([[NSUserDefaults standardUserDefaults] boolForKey:kVLCSettingPasscodeAllowTouchID]) {
[self _touchIDQuery];
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