Skip to content

Commit

Permalink
Update BBBadgeBarButtonItem.m
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroentrappers committed Aug 31, 2015
1 parent 423d612 commit 08df805
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BBBadgeBarButtonItem/BBBadgeBarButtonItem.m
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ - (void)updateBadgeValueAnimated:(BOOL)animated
self.badge.text = self.badgeValue;

// Animate the size modification if needed
NSTimeInterval duration = animated ? 0.2 : 0;
//NSTimeInterval duration = animated ? 0.2 : 0;
//[UIView animateWithDuration:duration animations:^{
[self updateBadgeFrame];
//}]; // this animation breaks the rounded corners in iOS 9
Expand Down

0 comments on commit 08df805

Please sign in to comment.