Commit a3962379 authored by Felix Paul Kühne's avatar Felix Paul Kühne

invalidate idle time when closing movie view

parent ec7dd86d
......@@ -85,6 +85,8 @@
- (void)viewWillDisappear:(BOOL)animated
{
if (_idleTimer)
[_idleTimer invalidate];
[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