improve reset instructions for trezor passphrase change
What changed, and why it matters
This commit only changes the wording of an on-screen instruction shown to users after they change the passphrase on a Trezor hardware wallet. It tells users to restart the device and adds guidance for battery-powered devices. There is no code behavior change and no security fix.
No security action needed. This is a user-experience wording improvement.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff modifies a single string in an alert dialog inside UsbStatusButton.java. The title changes from ‘Reconnect device’ to ‘Restart device’ and the message adds a note about holding the power button on battery-powered devices. No logic, service, event handling, or security boundary is altered.
Changed components
src/main/java/com/sparrowwallet/sparrow/control/UsbStatusButton.javaInspect captured patch +2 / −1
diff --git a/src/main/java/com/sparrowwallet/sparrow/control/UsbStatusButton.java b/src/main/java/com/sparrowwallet/sparrow/control/UsbStatusButton.java
index 47b9beb..0357d50 100644
--- a/src/main/java/com/sparrowwallet/sparrow/control/UsbStatusButton.java
+++ b/src/main/java/com/sparrowwallet/sparrow/control/UsbStatusButton.java
@@ -37,7 +37,8 @@ public class UsbStatusButton extends MenuButton {
togglePassphraseService.setOnSucceeded(event1 -> {
EventManager.get().post(new RequestOpenWalletsEvent());
if(!device.getModel().externalPassphraseEntry()) {
- AppServices.showAlertDialog("Reconnect device", "Reconnect your " + device.getModel().toDisplayString() + " to reset the passphrase.", Alert.AlertType.INFORMATION);
+ AppServices.showAlertDialog("Restart device", "Reconnect your " + device.getModel().toDisplayString() + " to reset the passphrase." +
+ "\n\nIf it has a battery, hold down the power button until it restarts.", Alert.AlertType.INFORMATION);
}
});
togglePassphraseService.setOnFailed(event1 -> {
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.