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

menu: show about panel as modal view instead of pushing the view controller

parent 9b86e92e
......@@ -46,7 +46,7 @@
- (IBAction)dismiss:(id)sender
{
[self.navigationController popViewControllerAnimated:YES];
[self.navigationController dismissModalViewControllerAnimated:YES];
}
@end
......@@ -101,11 +101,13 @@
- (IBAction)openAboutPanel:(id)sender
{
VLCAppDelegate* appDelegate = [UIApplication sharedApplication].delegate;
UIViewController *aboutController = [[VLCAboutViewController alloc] initWithNibName:@"VLCAboutViewController" bundle:nil];
[appDelegate.playlistViewController.navigationController pushViewController:aboutController animated:YES];
[self _hideAnimated:NO];
UINavigationController *navController = [[UINavigationController alloc] initWithRootViewController:aboutController];
navController.navigationBarHidden = NO;
navController.navigationBar.barStyle = UIBarStyleBlack;
[self presentModalViewController:navController animated:YES];
}
- (IBAction)openNetworkStream:(id)sender
......
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