-
Notifications
You must be signed in to change notification settings - Fork 112
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
[Brand Updates] Remove underline from links in the app #14938
Changes from all commits
b2999a4
95557af
7254684
bf81a6a
bcd5281
35b052b
38c4633
0f66b0e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -92,7 +92,7 @@ struct AccountCreationForm: View { | |
.renderedIf(viewModel.currentField == .password) | ||
|
||
// Terms of Service link. | ||
AttributedText(tosAttributedText, enablesLinkUnderline: true) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not sure if we should remove the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I am OK with keeping it inside |
||
AttributedText(tosAttributedText) | ||
.attributedTextLinkColor(Color(.secondaryLabel)) | ||
.environment(\.customOpenURL) { url in | ||
tosURL = url | ||
|
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.
This is the fix that I mentioned above, in a recent PR, I introduced this new property, and it resulted in an issue with the subtle button style that we use for "Write with AI" button:
My understanding of the issue: given that now we had
UIColor.accent
andColor.accent
both in the app, theUIKitAttributes.foregroundColor
started using theColor
one, and ignore it at runtime, so to avoid any other similar issues, I'm renaming this property to make it clearer it's only for POS screens.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 explanation!