mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-12-25 05:06:45 +00:00
make passphrase entry a masked password field
This commit is contained in:
parent
7bc8bdc13e
commit
c27a576b3d
1 changed files with 1 additions and 1 deletions
|
@ -302,7 +302,7 @@ public class DevicePane extends TitledDescriptionPane {
|
||||||
}
|
}
|
||||||
|
|
||||||
private Node getPassphraseEntry() {
|
private Node getPassphraseEntry() {
|
||||||
CustomTextField passphraseField = (CustomTextField)TextFields.createClearableTextField();
|
CustomPasswordField passphraseField = (CustomPasswordField)TextFields.createClearablePasswordField();
|
||||||
passphrase.bind(passphraseField.textProperty());
|
passphrase.bind(passphraseField.textProperty());
|
||||||
HBox.setHgrow(passphraseField, Priority.ALWAYS);
|
HBox.setHgrow(passphraseField, Priority.ALWAYS);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue