Refactor setting and clearing badge text into a helper method(s) exposing only valid states #463
Labels
Code health
Issues which if fixed would improve the health of the project (as opposed to new features/bugs)
rikaikun only allows nothing and 'On' but
setBadgeText
allows arbitrary text which makes it harder to understand the goals of the author down the line. (Is empty string accidental or on purpose etc)This came up in #462 since it added another location where we set badge text.
The text was updated successfully, but these errors were encountered: