Commit 9b41e6ed authored by Gleb Pinigin's avatar Gleb Pinigin Committed by Felix Paul Kühne
Browse files

Change status bar style when pushing/poping player on navigation stack

Signed-off-by: Felix Paul Kühne's avatarFelix Paul Kühne <>
parent 729938d7
......@@ -71,6 +71,7 @@
[super viewWillAppear:animated];
[self.navigationController setNavigationBarHidden:YES animated:YES];
[UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleBlackTranslucent;
if (self.mediaItem) {
self.title = [self.mediaItem title];
......@@ -85,6 +86,7 @@
- (void)viewWillDisappear:(BOOL)animated
[self.navigationController setNavigationBarHidden:NO animated:YES];
[UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleBlackOpaque;
[_mediaPlayer pause];
[super viewWillDisappear:animated];
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