diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2014-11-05 03:22:48 -0800 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2014-11-05 03:22:48 -0800 |
commit | 483881e4cf3df51df8c97d94857c611ef2510aa4 (patch) | |
tree | 954c8ddea68aed2763550487fa98e6085dea9bc6 /MobileCydia.mm | |
parent | 907ba49114259e49a89bf54e6e5b137dab12d2af (diff) |
Move setModalPresentationStyle: (for consistency).
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r-- | MobileCydia.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm index 69084f0..a69d2c7 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -9231,8 +9231,6 @@ _end - (void) presentModalViewController:(UIViewController *)controller force:(BOOL)force { UINavigationController *navigation([[[UINavigationController alloc] initWithRootViewController:controller] autorelease]); - if (IsWildcat_) - [navigation setModalPresentationStyle:UIModalPresentationFormSheet]; UIViewController *parent; if (emulated_ == nil) @@ -9244,6 +9242,8 @@ _end parent = tabbar_; } + if (IsWildcat_) + [navigation setModalPresentationStyle:UIModalPresentationFormSheet]; [parent presentModalViewController:navigation animated:YES]; } |