-
Notifications
You must be signed in to change notification settings - Fork 579
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
fix(DIA-981)(DIA-937): Auth2 QA Omnibus (Continued) #11083
Conversation
<Image source={require("images/apple.webp")} /> | ||
<Button variant="outline" onPress={handleApplePress}> | ||
<Flex alignItems="center" justifyContent="center"> | ||
<AppleIcon width="23px" height="23px" style={{ position: "relative", top: 4 }} /> |
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.
few changes here:
- there's no
px
in native development, let's use these props as numberswidth={23}
instead. - Maybe add a comment about why top with 4 was needed
- position by default is
relative
in RN, so I'm not sure ifposition
is necessary here https://reactnative.dev/docs/layout-props#position
the same goes to the other icons
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'm not sure if
position
is necessary here
By George, you're right!
59d4f46
to
7fdc9ee
Compare
<Button variant="outline" onPress={handleApplePress}> | ||
<Flex alignItems="center" justifyContent="center"> | ||
{/* On iOS, the icons need to be nudged down to be centered in the button. */} | ||
<AppleIcon width={23} height={23} style={{ top: 4 }} /> |
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.
if it's iOS only, then shouldn't we check the platform here too as we do in the other icons?
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.
No, because we only show the Apple option on iOS, so it would be redundant to add the check here.
* resized social icons and aligned them * Finished catch-all error message * added sentry event for social sign-in errors * let metaphysics determine my IP address * fixed code review suggestions
This PR resolves DIA-981 DIA-937
Description
This PR continues fixes for the auth2 QA issues:
PR Checklist
To the reviewers 👀
Changelog updates
Changelog updates
Cross-platform user-facing changes
iOS user-facing changes
Android user-facing changes
Dev changes
Need help with something? Have a look at our docs, or get in touch with us.