Jasonette / JASONETTE-iOS

📡 Native App over HTTP, on iOS
https://www.jasonette.com
MIT License
5.27k stars 352 forks source link

Make the tab badge disappear if the value is "0" #290

Open drwasho opened 6 years ago

drwasho commented 6 years ago

As per the title.

gliechtenstein commented 6 years ago

This should work with the existential operator https://selecttransform.github.io/site/transform.html#4-existential-operator - which was introduced with the recent transition to ST.

Try that and see if that works. I don't think it's a good idea to add this condition since there may be cases where you would want to display "0" as a badge value.