]> git.saurik.com Git - cydia.git/commitdiff
Do not count ignored updates for Changes badge.
authorJay Freeman (saurik) <saurik@saurik.com>
Thu, 24 Mar 2011 14:22:53 +0000 (07:22 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Thu, 24 Mar 2011 14:22:53 +0000 (07:22 -0700)
MobileCydia.mm

index e922636b4b737099e6e9bc0dc525ce980790b361..8c01c675148711a95470154ea4edd4c1294fc3e9 100644 (file)
@@ -9416,7 +9416,7 @@ static void HomeControllerReachabilityCallback(SCNetworkReachabilityRef reachabi
     for (Package *package in packages) {
         if ([package half])
             [broken_ addObject:package];
     for (Package *package in packages) {
         if ([package half])
             [broken_ addObject:package];
-        if ([package upgradableAndEssential:NO]) {
+        if ([package upgradableAndEssential:NO] && ![package ignored]) {
             if ([package essential])
                 [essential_ addObject:package];
             ++changes;
             if ([package essential])
                 [essential_ addObject:package];
             ++changes;