summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MobileCydia.mm6
1 files changed, 4 insertions, 2 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index a1a1ff2..ed0f35a 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -7102,10 +7102,12 @@ static void HomeControllerReachabilityCallback(SCNetworkReachabilityRef reachabi
CGRect barframe([refreshbar_ frame]);
- if (kCFCoreFoundationVersionNumber >= kCFCoreFoundationVersionNumber_iPhoneOS_3_0) // XXX: _UIApplicationLinkedOnOrAfter(4)
+ if (kCFCoreFoundationVersionNumber < kCFCoreFoundationVersionNumber_iPhoneOS_3_0) // XXX: _UIApplicationLinkedOnOrAfter(4)
+ barframe.origin.y = 0;
+ else if (kCFCoreFoundationVersionNumber < 800)
barframe.origin.y = CYStatusBarHeight();
else
- barframe.origin.y = 0;
+ barframe.origin.y = -barframe.size.height;
[refreshbar_ setFrame:barframe];