From: Grant Paul Date: Mon, 8 Nov 2010 05:11:12 +0000 (-0800) Subject: Fixed tabbar that I broke months ago (always flashing if there are updates, not just... X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/24fb80c19c6695f8a5f32d3492e30b07033ed8a1?ds=inline Fixed tabbar that I broke months ago (always flashing if there are updates, not just essential.) --- diff --git a/MobileCydia.mm b/MobileCydia.mm index 24edceaf..10c610a4 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];