Skip to content
Snippets Groups Projects
Commit 2b71e701 authored by akwizgran's avatar akwizgran
Browse files

Merge branch '100-hide-strength-meter' into 'master'

Hide password strength meter when confirming password

Closes #100

I opted to hide the strength meter because:

* more extensive changes would have been required to set the strength meter to 100% red.
* IMHO it would lead to confusion as to the meaning of the strength meter.
* the "passwords do not match" error should eventually become a proper error of the confirm EditText, not a separate label.

See merge request !2
parents d11e7e96 11deb572
No related branches found
No related tags found
No related merge requests found
......@@ -182,7 +182,7 @@ OnEditorActionListener {
private void enableOrDisableContinueButton() {
if (progress == null) return; // Not created yet
if (passwordEntry.getText().length() > 0)
if (passwordEntry.getText().length() > 0 && passwordEntry.hasFocus())
strengthMeter.setVisibility(VISIBLE);
else strengthMeter.setVisibility(INVISIBLE);
String nickname = nicknameEntry.getText().toString();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment