-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Bugfix FXIOS-13896 β [iOS 26] The Done button color in Edit bookmarks menu is not consistent (not blue) #30130
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
base: main
Are you sure you want to change the base?
Conversation
β¦ menu is not consistent (not blue)
π₯ Perfect PR sizeSmaller PRs are easier to review. Thanks for making life easy for reviewers! β¨ π Friday high-fiveThanks for pushing us across the finish line this week! π β Per-file test coverage gateThe following changed file(s) are below 35.0% coverage:
Client.app: Coverage: 37.24
Generated by π« Danger Swift against 1594197 |
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.
Overall looks great to me @dicarobinho great work, just some small nits comment
| @State var borderColor: Color = .clear | ||
| @State var textFieldBackgroundColor: Color = .clear | ||
| @State var barButtonColor: Color = .clear | ||
| @State var saveButtonColor: Color = .clear |
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.
Can we add directly ThemeableView from ComponentLibrary so we can simplify a lot this code ? cc @razvanlitianu ?
| case .bookmarks(state: .mainView), .bookmarks(state: .inFolder): | ||
| bottomRightButton.title = .BookmarksEdit | ||
| if #available(iOS 26.0, *) { | ||
| bottomRightButton.tintColor = themeManager.getCurrentTheme(for: windowUUID).colors.textPrimary |
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.
instead of querying the theme all time, can we just add it to a variable theme in and just pass the color ?
| case .bookmarks(state: .itemEditMode): | ||
| topRightButton.title = .SettingsAddCustomEngineSaveButtonText | ||
| if #available(iOS 26.0, *) { | ||
| topRightButton.tintColor = themeManager.getCurrentTheme(for: windowUUID).colors.textAccent |
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.
same here
| if #available(iOS 26.0, *) { | ||
| content | ||
| .foregroundColor( | ||
| !isEnabled ? saveDisableStateColor : |
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.
Can we make this easier to read ? Also with the ThemeableView we can just pass the Theme there
π Tickets
Jira ticket
Github issue
π‘ Description
Every Done/Save button from an edit screen should have tint color textAccent
Every Done/Save button from a normal screen should have tint color textPrimary
π₯ Demos
Demo
π Checklist