From c27a576b3d973564d2f4fb17ae50461d253ad94d Mon Sep 17 00:00:00 2001 From: Craig Raw Date: Mon, 8 Feb 2021 12:42:46 +0200 Subject: [PATCH] make passphrase entry a masked password field --- src/main/java/com/sparrowwallet/sparrow/control/DevicePane.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/sparrowwallet/sparrow/control/DevicePane.java b/src/main/java/com/sparrowwallet/sparrow/control/DevicePane.java index de824564..2ba81f66 100644 --- a/src/main/java/com/sparrowwallet/sparrow/control/DevicePane.java +++ b/src/main/java/com/sparrowwallet/sparrow/control/DevicePane.java @@ -302,7 +302,7 @@ public class DevicePane extends TitledDescriptionPane { } private Node getPassphraseEntry() { - CustomTextField passphraseField = (CustomTextField)TextFields.createClearableTextField(); + CustomPasswordField passphraseField = (CustomPasswordField)TextFields.createClearablePasswordField(); passphrase.bind(passphraseField.textProperty()); HBox.setHgrow(passphraseField, Priority.ALWAYS);