-
Notifications
You must be signed in to change notification settings - Fork 498
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
Support SSO login in the new flow. #6204
Conversation
fde5b1e
to
9abcab9
Compare
📱 Scan the QR code below to install the build for this PR. If you can't scan the QR code you can install the build via this link: https://i.diawi.com/mErdka |
Fix SSO buttons pressed appearance.
Scale SSO button icon with dynamic type. Add an onCommit parameter to RoundedBorderTextField and use to submit instead of onEditingChanged.
|
||
return isPressed ? theme.colors.accent.opacity(0.6) : theme.colors.accent | ||
private func opacity(when isPressed: Bool) -> CGFloat { | ||
guard isEnabled else { return 0.6 } |
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.
Optional: We can make a constant for the 0.6
even internal in the method.
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.
BTW, I didn't ignore this. I'm going to come back to it in the DesignKit PR instead of here :)
This PR adds the use of
SSOAuthenticationPresenter
to the new flow. AdditionallyAuthenticationService
instead of through theLegacyAppDelegate
.SFSafariViewController
was used where the vc was never dismissed.#unavailable
can be used.onCommit
actions to the text fields on the login/registration screens.