mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-30 22:05:19 +00:00
make the generate replace the password rather than append
This commit is contained in:
@@ -70,7 +70,7 @@ public class pwgenDialogFragment extends DialogFragment {
|
|||||||
public void onClick(DialogInterface dialog, int which) {
|
public void onClick(DialogInterface dialog, int which) {
|
||||||
EditText edit = (EditText) callingActivity.findViewById(R.id.crypto_password_edit);
|
EditText edit = (EditText) callingActivity.findViewById(R.id.crypto_password_edit);
|
||||||
TextView generate = (TextView) view.findViewById(R.id.passwordText);
|
TextView generate = (TextView) view.findViewById(R.id.passwordText);
|
||||||
edit.append(generate.getText());
|
edit.setText(generate.getText());
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user