summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDustin L. Howett <dustin@howett.net>2010-11-11 20:43:43 -0500
committerDustin L. Howett <dustin@howett.net>2010-11-11 20:43:43 -0500
commit65a03a7ab61aa35d949dc4cdc53a37785649e7c1 (patch)
tree511e1764dc50a617eeb2067824b0a6c152573de2
parentd82bb9b4fd30b9805d264f21b4eeec7adc6eb313 (diff)
chpwn got the "blink only for essential packages" logic backwards, and claims to have failed at life. I have fixed one of these things.
-rw-r--r--MobileCydia.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 10c610a..6adcd52 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];