Commit 011700ff authored by Felix Paul Kühne's avatar Felix Paul Kühne

movie view: fix potential failure to hide the controls

parent bce8d1e4
......@@ -176,8 +176,10 @@
- (void)viewWillDisappear:(BOOL)animated
{
if (_idleTimer)
if (_idleTimer) {
[_idleTimer invalidate];
_idleTimer = nil;
}
[self.navigationController setNavigationBarHidden:NO animated:YES];
[UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleBlackOpaque;
[_mediaPlayer pause];
......
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