From 142d4e3642e6d38c1c763b30cd1bddc481c0b677 Mon Sep 17 00:00:00 2001 From: Grant Paul Date: Sun, 7 Nov 2010 21:11:12 -0800 Subject: Fixed tabbar that I broke months ago (always flashing if there are updates, not just essential.) --- MobileCydia.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; -- cgit v1.2.3