-
Notifications
You must be signed in to change notification settings - Fork 121
[iOS 26] Replace custom tab dot with native tab badge when Liquid Glass design is enabled #16161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 6 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
417ae75
Enable liquid glass design in iOS 26.
jaclync 224ec68
Replace custom tab dot with native tab badge.
jaclync 3603a57
Replace custom tab dot with native tab badge under a local feature flag.
jaclync 5f31fb3
Revert "Enable liquid glass design in iOS 26."
jaclync b364034
Merge branch 'trunk' into backlog/WOOMOB-1223-ios26-tabbar-badge-fix
jaclync 8a86168
Rename feature flag to `liquidGlassDesign` to be more clear when it c…
jaclync c743243
Merge branch 'trunk' into backlog/WOOMOB-1223-ios26-tabbar-badge-fix
jaclync d968d88
Replace local feature flag check for liquid glass design enabled stat…
jaclync File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest having something a bit different logic from a normal feature flag.
Since we already have a flag within the Info.plist that will enable
Liquid Glass, I think at that point we will want to have our changes such as this enabled as well, otherwise the app could crash in production if we keep it asbuildConfig == .localDeveloper || buildConfig == .alpha.With the updated logic, our liquid glass design changes will only be enabled if:
UIDesignRequiresCompatibilityflag doesn't exist or is set onNOWdyt?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the suggestion. Originally, I used a local feature flag so that it's more obvious that the code can be removed once the Liquid Glass design is launched. However, it does rely on a strict sync with the removal of the Info.plist entry, which cannot be guaranteed if some miscommunication happens. I made an update in d968d88 to replace the feature flag check with the Info.plist check as you suggested.
Regarding the iOS 26+ check, I'm leaving it out so that the native tab badge is applied to all iOS versions once the Liquid Glass design is enabled. iOS version adoption is usually pretty fast, and I don't think showing the native tab badge design causes critical UI/UX issues. We can remove the legacy fragile code sooner.