From 5d0438dcf264f6cc3a783e774c4bdd4943ec012f Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Mon, 30 Sep 2013 03:16:42 -0700 Subject: [PATCH] Do not white text on iOS 7 highlighted table cells. --- MobileCydia.mm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/MobileCydia.mm b/MobileCydia.mm index 483d7a2c..ef92bc45 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -5667,7 +5667,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { [badge_ drawInRect:rect]; } - if (highlighted) + if (highlighted && kCFCoreFoundationVersionNumber < 800) UISetColor(White_); if (!highlighted) @@ -5710,7 +5710,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { [badge_ drawInRect:rect]; } - if (highlighted) + if (highlighted && kCFCoreFoundationVersionNumber < 800) UISetColor(White_); if (!highlighted) @@ -5834,7 +5834,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { [icon_ drawInRect:CGRectMake(8, 7, 32, 32)]; - if (highlighted) + if (highlighted && kCFCoreFoundationVersionNumber < 800) UISetColor(White_); float width(rect.size.width); @@ -8492,7 +8492,7 @@ static void HomeControllerReachabilityCallback(SCNetworkReachabilityRef reachabi [icon_ drawInRect:rect]; } - if (highlighted) + if (highlighted && kCFCoreFoundationVersionNumber < 800) UISetColor(White_); if (!highlighted) -- 2.45.2