0

How can I dynamically remove a badge from a tab bar that I previously set with setBadgetText('text')?

Official documentation doesn't mention a solution and if I try with setBadgeText('') or setBadgeText() I can see a right margin near the tab button - so I deduce it's not the right way.

Is there something like removeBadge()?

Laurel
  • 5,965
  • 14
  • 31
  • 57
Andrea
  • 45
  • 1
  • 5
  • this is strange... in 2.3.1 setBadgeText('') properly removes it for me. What theme are you using? All good for me with cupertino (apple) theme. – shepsii Jun 25 '14 at 09:19
  • Yes, the badge disappears but a right margin remains near the tab button. – Andrea Jun 27 '14 at 14:28

0 Answers0