From: Dustin L. Howett Date: Fri, 12 Nov 2010 01:43:43 +0000 (-0500) Subject: chpwn got the "blink only for essential packages" logic backwards, and claims to... X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/3203e099e81f1fb5961c7666c30384d875dd7d2c?ds=inline chpwn got the "blink only for essential packages" logic backwards, and claims to have failed at life. I have fixed one of these things. --- diff --git a/MobileCydia.mm b/MobileCydia.mm index 10c610a4..6adcd529 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -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];