mirror of
https://github.com/android-password-store/Android-Password-Store.git
synced 2026-04-21 05:45:50 +02:00
make the generate replace the password rather than append
This commit is contained in:
parent
20468440d3
commit
ae39246732
|
|
@ -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());
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue