This commit is contained in:
Grishka 2022-12-20 12:14:56 +03:00
parent 6f2e5a63d7
commit d9df150cf8
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@ public class SignupFragment extends ToolbarFragment{
} }
private void onButtonClick(){ private void onButtonClick(){
if(!password.getText().equals(passwordConfirm.getText())){ if(!password.getText().toString().equals(passwordConfirm.getText().toString())){
passwordConfirm.setError(getString(R.string.signup_passwords_dont_match)); passwordConfirm.setError(getString(R.string.signup_passwords_dont_match));
passwordConfirmWrap.setErrorState(); passwordConfirmWrap.setErrorState();
return; return;