Commit 3f250bf1 authored by Romain Goyet's avatar Romain Goyet Committed by Felix Paul Kühne
Browse files

Use a "form" style for modal view on the iPad

Signed-off-by: Felix Paul Kühne's avatarFelix Paul Kühne <>
parent fb85ad45
......@@ -193,6 +193,7 @@
if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) {
UINavigationController *navController = [[UINavigationController alloc] initWithRootViewController:viewController];
[navController loadTheme];
navController.modalPresentationStyle = UIModalPresentationFormSheet;
[self presentModalViewController:navController animated:YES];
if (viewController.navigationItem.rightBarButtonItem == nil) {
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