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

app delegate: fix passcode validation failure

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