summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-03-25 09:39:23 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-25 09:39:23 -0700
commit823e2d9720d8fa7b060821439481e19c644ece1a (patch)
treebb1fad6874e63853b4ee0f86f5c8c22093e4a46a
parent680a3c3c74c8badbc3a73f33f44eceedfe8539ff (diff)
Count essential installations towards Changes badge.v1.1.0%rc2
-rw-r--r--MobileCydia.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 6d8c6f8..0a86a2b 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -9470,8 +9470,8 @@ static void HomeControllerReachabilityCallback(SCNetworkReachabilityRef reachabi
for (Package *package in packages) {
if ([package half])
[broken_ addObject:package];
- if ([package upgradableAndEssential:NO] && ![package ignored]) {
- if ([package essential])
+ if ([package upgradableAndEssential:YES] && ![package ignored]) {
+ if ([package essential] && [package installed] != nil)
[essential_ addObject:package];
++changes;
}