]> git.saurik.com Git - cydia.git/commitdiff
Support landscape in the new Settings view.
authorGrant Paul <chpwn@chpwn.com>
Sun, 3 Oct 2010 08:54:18 +0000 (01:54 -0700)
committerJay Freeman <saurik@Jay-Freemans-MacBook-Pro.local>
Mon, 4 Oct 2010 07:12:22 +0000 (00:12 -0700)
Cydia.mm

index af9b8dac3429c49e9fb5244aa4a4c55cb6fff86a..f8668cbaa9d4b196751aff916843270212f05064 100644 (file)
--- a/Cydia.mm
+++ b/Cydia.mm
@@ -8307,7 +8307,7 @@ static _finline void _setHomePage(Cydia *self) {
 
 - (void) showSettings {
     RoleController *role = [[RoleController alloc] initWithDatabase:database_ delegate:self];
-    UINavigationController *nav = [[UINavigationController alloc] initWithRootViewController:role];
+    CYNavigationController *nav = [[CYNavigationController alloc] initWithRootViewController:role];
     if (IsWildcat_) [nav setModalPresentationStyle:UIModalPresentationFormSheet];
     [container_ presentModalViewController:nav animated:YES];
 }