-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Style refactor #784
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
Style refactor #784
Conversation
* The view helps display TOS linking to the provided custom URI. | ||
* It handles the styling of the link and opens the uri in a CustomTabs on click. | ||
*/ | ||
public class TermsTextView extends AppCompatTextView { |
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 only non-style change, I got rid of the custom TextView.
Signed-off-by: Alex Saveau <[email protected]>
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.
Looks good overall just two nits!
}, SHORT_DELAY_MILLIS); | ||
} | ||
}).addOnFailureListener(this, new OnFailureListener() { | ||
}).addOnFailureListener(this, new OnFailureListener() { | ||
@Override |
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.
nit: this indentation is strange, the onFailure method is to the left of addOnFailureListener
@@ -134,7 +134,7 @@ public void onSaveInstanceState(Bundle outState) { | |||
|
|||
private void setTimer(long millisUntilFinished) { | |||
mCountDownTextView.setText(String.format(getString(R.string.resend_code_in), | |||
timeRoundedToSeconds(millisUntilFinished))); | |||
timeRoundedToSeconds(millisUntilFinished))); |
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 this was auto-formatted, can we change the rules not to do these aligned hanging indents (here and everywhere)? They don't survive refactoring.
Signed-off-by: Alex Saveau <[email protected]>
Signed-off-by: Alex Saveau <[email protected]>
@samtstern Done with a green build! 😄 |
@samtstern I started working on making my anonymous auth PR support phone auth, but I kept shuddering some really gross phone auth code so this PR fixes that messiness. 😄
The PR