clear password field before setting new one

This commit is contained in:
Daniel Gultsch 2016-05-04 18:23:36 +02:00
parent fb41a4ffaa
commit c27663c456
1 changed files with 1 additions and 0 deletions

View File

@ -88,6 +88,7 @@ public class ChangePasswordActivity extends XmppActivity implements XmppConnecti
Intent intent = getIntent(); Intent intent = getIntent();
String password = intent != null ? intent.getStringExtra("password") : null; String password = intent != null ? intent.getStringExtra("password") : null;
if (password != null) { if (password != null) {
this.mNewPassword.getEditableText().clear();
this.mNewPassword.getEditableText().append(password); this.mNewPassword.getEditableText().append(password);
} }
} }