diff options
-rw-r--r-- | MobileCydia.mm | 2 | ||||
-rw-r--r-- | UICaboodle/RVPage.mm | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm index 24aa3d0..f8c2c9a 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -1071,7 +1071,7 @@ static _transient NSMutableDictionary *Sources_; static bool Changed_; static time_t now_; -static bool IsWildcat_; +bool IsWildcat_; /* }}} */ /* Display Helpers {{{ */ diff --git a/UICaboodle/RVPage.mm b/UICaboodle/RVPage.mm index 81c8739..3e6e692 100644 --- a/UICaboodle/RVPage.mm +++ b/UICaboodle/RVPage.mm @@ -5,6 +5,8 @@ #import "RVBook.h" +extern bool IsWildcat_; + @implementation CYViewController - (void) setDelegate:(id)delegate { delegate_ = delegate; @@ -12,6 +14,6 @@ - (void) reloadData { } - (BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)orientation { - return (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad || orientation == UIInterfaceOrientationPortrait); + return IsWildcat_ || orientation == UIInterfaceOrientationPortrait; } @end |