-
Notifications
You must be signed in to change notification settings - Fork 133
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
Unified login: Hide TOS buttons if not in signup mode during login #2845
Conversation
Error TypeError
Dangerfile
Generated by 🚫 dangerJS |
You can test the changes on this Pull Request by downloading the APK here. |
public void onClick(View view) { | ||
Context context = getContext(); | ||
if ((context instanceof SignupSheetListener)) { | ||
((SignupSheetListener) context).onSignupSheetTermsOfServiceClicked(); |
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 don't think this bug was introduced in this PR, but when the TOS button is clicked it doesn't do anything.
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.
Yeah that's because we don't use it (which is why I'm hiding it). It's used by WPAndroid though which is why it exists.
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 PR closes #2837 by hiding the Terms of Service buttons when not in a "Signup" flow. WooCommerce app does not currently support signup during login.
To Test
Update release notes:
RELEASE-NOTES.txt
if necessary.