Make the tab badge disappear if the value is "0"#290
Open
drwasho wants to merge 11 commits intoJasonette:developfrom
Open
Make the tab badge disappear if the value is "0"#290drwasho wants to merge 11 commits intoJasonette:developfrom
drwasho wants to merge 11 commits intoJasonette:developfrom
Conversation
* Add Vision Service, replace PBJVision with native AVFoundation * $vision action * limit payload to type and content for now * Remove PBJVision dependency
* Implement Switch Component See Jasonette/Jasonette#1 And issue Jasonette#275 * exception handling for name/action + use boolean for isOn * Fixed color:disabled
Suitable for inputting currency amounts.
As seen in https://stackoverflow.com/questions/46344159/whats-difference-between-nsphotolibraryaddusagedescription-and-nsphotolibraryus I think it's a bug Apple needs to fix, since it should work even without that permission (NSPhotoLibraryDescription should be enough, which already exists on Info.plist). But still need to fix since Apple won't fix it.
As per the title.
Contributor
|
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. |
0987778 to
32208e1
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
As per the title.