mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-20 22:59:54 +01:00
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
This commit is contained in:
@@ -182,7 +182,7 @@ OnEditorActionListener {
|
|||||||
|
|
||||||
private void enableOrDisableContinueButton() {
|
private void enableOrDisableContinueButton() {
|
||||||
if (progress == null) return; // Not created yet
|
if (progress == null) return; // Not created yet
|
||||||
if (passwordEntry.getText().length() > 0)
|
if (passwordEntry.getText().length() > 0 && passwordEntry.hasFocus())
|
||||||
strengthMeter.setVisibility(VISIBLE);
|
strengthMeter.setVisibility(VISIBLE);
|
||||||
else strengthMeter.setVisibility(INVISIBLE);
|
else strengthMeter.setVisibility(INVISIBLE);
|
||||||
String nickname = nicknameEntry.getText().toString();
|
String nickname = nicknameEntry.getText().toString();
|
||||||
|
|||||||
Reference in New Issue
Block a user