mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2026-10-05 19:18:26 +00:00
improve reset instructions for trezor passphrase change
This commit is contained in:
@@ -37,7 +37,8 @@ public class UsbStatusButton extends MenuButton {
|
|||||||
togglePassphraseService.setOnSucceeded(event1 -> {
|
togglePassphraseService.setOnSucceeded(event1 -> {
|
||||||
EventManager.get().post(new RequestOpenWalletsEvent());
|
EventManager.get().post(new RequestOpenWalletsEvent());
|
||||||
if(!device.getModel().externalPassphraseEntry()) {
|
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 -> {
|
togglePassphraseService.setOnFailed(event1 -> {
|
||||||
|
|||||||
Reference in New Issue
Block a user