Permalink
Browse files

Fixed a small issue with the handling of the ApplicationBar Icon Butt…

…ons and Menu Items limit
  • Loading branch information...
1 parent 389bc5d commit f2ae87d5972d0b660661f9fd866ad5d833c7b345 @PedroLamas PedroLamas committed Jul 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Cimbalino.Phone.Toolkit/Behaviors/ApplicationBarItemCollectionBase.cs
@@ -63,7 +63,7 @@ internal void UpdateApplicationBar()
{
_itemsList.Add(internalItem);
- if (itemCount++ == _maxVisibleItems)
+ if (++itemCount == _maxVisibleItems)
{
break;
}

0 comments on commit f2ae87d

Please sign in to comment.