summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
authorGrant Paul <chpwn@chpwn.com>2010-11-07 21:11:12 -0800
committerGrant Paul <chpwn@chpwn.com>2010-11-07 21:11:12 -0800
commit142d4e3642e6d38c1c763b30cd1bddc481c0b677 (patch)
tree1ef0bd478cd3a6f9daacc98178a4c62555e6f2c6 /MobileCydia.mm
parente61a973c385134f1a7363a12e45063d2c3c7a767 (diff)
Fixed tabbar that I broke months ago (always flashing if there are updates, not just essential.)
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r--MobileCydia.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 24edcea..10c610a 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:YES];
+ [changesItem setAnimatedBadge:[essential_ count] == 0];
if ([self respondsToSelector:@selector(setApplicationBadge:)])
[self setApplicationBadge:badge];