]> git.saurik.com Git - cydia.git/commitdiff
chpwn got the "blink only for essential packages" logic backwards, and claims to...
authorDustin L. Howett <dustin@howett.net>
Fri, 12 Nov 2010 01:43:43 +0000 (20:43 -0500)
committerDustin L. Howett <dustin@howett.net>
Fri, 12 Nov 2010 01:43:43 +0000 (20:43 -0500)
MobileCydia.mm

index 10c610a4f5355aaff11b98447d909c7ea70ddc6a..6adcd529f197aa729434b5a87bdb0b6fceab7557 100644 (file)
@@ -8136,7 +8136,7 @@ static _finline void _setHomePage(Cydia *self) {
     if (changes != 0) {
         NSString *badge([[NSNumber numberWithInt:changes] stringValue]);
         [changesItem setBadgeValue:badge];
-        [changesItem setAnimatedBadge:[essential_ count] == 0];
+        [changesItem setAnimatedBadge:([essential_ count] > 0)];
 
         if ([self respondsToSelector:@selector(setApplicationBadge:)])
             [self setApplicationBadge:badge];