]> git.saurik.com Git - cydia.git/commitdiff
Fixed tabbar that I broke months ago (always flashing if there are updates, not just...
authorGrant Paul <chpwn@chpwn.com>
Mon, 8 Nov 2010 05:11:12 +0000 (21:11 -0800)
committerGrant Paul <chpwn@chpwn.com>
Mon, 8 Nov 2010 05:11:12 +0000 (21:11 -0800)
MobileCydia.mm

index 24edceaf9ff9658ff6a94a9f0c8335e58d0f7282..10c610a4f5355aaff11b98447d909c7ea70ddc6a 100644 (file)
@@ -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];