diff options
author | zeapo <mohamed@zenadi.com> | 2017-11-03 15:03:20 +0100 |
---|---|---|
committer | zeapo <mohamed@zenadi.com> | 2017-11-03 15:03:20 +0100 |
commit | ae3924673245f0d40d41ec313f2146c0f3943ef0 (patch) | |
tree | eb7c94f18af60e4b875732da02dc50c20007e3e2 /app/src/main/java/com | |
parent | 20468440d338d5410b82e289e242d1b5ba7b8cb2 (diff) |
make the generate replace the password rather than append
Diffstat (limited to 'app/src/main/java/com')
-rw-r--r-- | app/src/main/java/com/zeapo/pwdstore/pwgenDialogFragment.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/com/zeapo/pwdstore/pwgenDialogFragment.java b/app/src/main/java/com/zeapo/pwdstore/pwgenDialogFragment.java index 30b868f0..141aaa76 100644 --- a/app/src/main/java/com/zeapo/pwdstore/pwgenDialogFragment.java +++ b/app/src/main/java/com/zeapo/pwdstore/pwgenDialogFragment.java @@ -70,7 +70,7 @@ public class pwgenDialogFragment extends DialogFragment { public void onClick(DialogInterface dialog, int which) { EditText edit = (EditText) callingActivity.findViewById(R.id.crypto_password_edit); TextView generate = (TextView) view.findViewById(R.id.passwordText); - edit.append(generate.getText()); + edit.setText(generate.getText()); } }); |