Commit d7b5c73b authored by Mac mini Jenkins's avatar Mac mini Jenkins Committed by Felix Paul Kühne
Browse files

Fix passcode issues by updating the UI to validated state in -[VLCAppDelegate...


Fix passcode issues by updating the UI to validated state in -[VLCAppDelegate validatePasscode] when no passcode is set. Be more defensive about -[VLCKeychainCoordinate validatePasscode] calls when a passcode was never set => nil.
Signed-off-by: Felix Paul Kühne's avatarFelix Paul Kühne <fkuehne@videolan.org>
parent 4690a887
......@@ -3,6 +3,7 @@
* Improved SMB compatibility
* UPnP reliability improvements, notably with Kodi
* Stability improvements
* Fixed issues unlocking the app when a passcode was never set
2.7.0:
------
......
......@@ -438,8 +438,10 @@ didFailToContinueUserActivityWithType:(NSString *)userActivityType
[[VLCPlayerDisplayController sharedInstance] dismissPlaybackView];
[keychainCoordinator validatePasscode];
} else
} else {
_passcodeValidated = YES;
[self passcodeValidated];
}
}
#pragma mark - download handling
......
......@@ -115,7 +115,7 @@ NSString *const VLCPasscode = @"org.videolan.vlc-ios.passcode";
_inValidation = YES;
NSString *passcode = [self _obtainPasscode];
if ([passcode isEqualToString:@""]) {
if (passcode == nil || [passcode isEqualToString:@""]) {
[[NSNotificationCenter defaultCenter] postNotificationName:VLCPasscodeValidated object:self];
}
......
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