summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2013-12-22 06:15:37 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2013-12-22 06:15:37 -0800
commit87ecdabe77c7913386ac9be913a40b6f45395a2e (patch)
treec0fa766c6d968c08ee02aa0060e13d37f09c7668
parenta7bc69f5491e730e13e78ec4e028c22b3ba03023 (diff)
I don't even remember what this fixed (omg fail).
-rw-r--r--MobileCydia.mm6
1 files changed, 4 insertions, 2 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index b341cc9..a1a1ff2 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -7084,10 +7084,12 @@ static void HomeControllerReachabilityCallback(SCNetworkReachabilityRef reachabi
}
- (UIView *) transitionView {
- if ([self respondsToSelector:@selector(_transitionView)])
+ if (![self respondsToSelector:@selector(_transitionView)])
+ return MSHookIvar<id>(self, "_viewControllerTransitionView");
+ else if (kCFCoreFoundationVersionNumber < 800)
return [self _transitionView];
else
- return MSHookIvar<id>(self, "_viewControllerTransitionView");
+ return [[self _transitionView] superview];
}
- (void) dropBar:(BOOL)animated {