#740 - Remove unnecessary setTransformation calls (this is already done one line above from the ConfirmedPasswordTransformationHelper call)

This commit is contained in:
Joshua Soberg 2021-01-30 11:28:46 -05:00
parent d1edfe1426
commit 6b33b5bc3f

View file

@ -262,9 +262,6 @@ public class CredentialsPreference extends DialogPreference
ConfirmedPasswordTransformationHelper.setup(passwordLayout, passwordInput, passwordConfirm);
passwordInput.setTransformationMethod(new PasswordTransformationMethod());
passwordConfirm.setTransformationMethod(new PasswordTransformationMethod());
minLength = Constants.AUTH_MIN_PASSWORD_LENGTH;
toShortWarning.setText(getContext().getString(R.string.settings_label_short_password, minLength));