Browse Source

app delegate: fix passcode validation failure

Felix Paul Kühne 11 years ago
parent
commit
4a3a21b5ba
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Sources/VLCAppDelegate.m

+ 2 - 0
Sources/VLCAppDelegate.m

@@ -155,6 +155,7 @@
 
 - (void)applicationWillResignActive:(UIApplication *)application
 {
+    self.passcodeValidated = NO;
     [[MLMediaLibrary sharedMediaLibrary] applicationWillExit];
 }
 
@@ -167,6 +168,7 @@
 
 - (void)applicationWillTerminate:(UIApplication *)application
 {
+    self.passcodeValidated = NO;
     [[NSUserDefaults standardUserDefaults] synchronize];
 }