From a23207d2b4e9986a5f0ef23dafb9ef31cd080319 Mon Sep 17 00:00:00 2001 From: Grant Paul Date: Sat, 29 Jan 2011 16:28:11 -0800 Subject: Fix refreshing bar on iOS 3.0+ by using the CoreFoundation version to check versioning at runtime. --- MobileCydia.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'MobileCydia.mm') diff --git a/MobileCydia.mm b/MobileCydia.mm index 849d3db..0076c42 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -6370,7 +6370,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { CGRect barframe([refreshbar_ frame]); - if (false) // XXX: _UIApplicationLinkedOnOrAfter(4) + if (kCFCoreFoundationVersionNumber >= kCFCoreFoundationVersionNumber_iPhoneOS_3_0) // XXX: _UIApplicationLinkedOnOrAfter(4) barframe.origin.y = [self statusBarHeight]; else barframe.origin.y = 0; -- cgit v1.2.3