1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-24 07:18:09 +00:00

passphrase protection -> encryption (in dialog)

This commit is contained in:
Pavol Rusnak 2015-02-05 18:59:43 +01:00
parent b5221ce2e9
commit ed3fbf901c

View File

@ -456,7 +456,7 @@ void fsm_msgApplySettings(ApplySettings *msg)
} }
} }
if (msg->has_use_passphrase) { if (msg->has_use_passphrase) {
layoutDialogSwipe(DIALOG_ICON_QUESTION, "Cancel", "Confirm", NULL, "Do you really want to", msg->use_passphrase ? "enable passphrase" : "disable passphrase", "protection?", NULL, NULL, NULL); layoutDialogSwipe(DIALOG_ICON_QUESTION, "Cancel", "Confirm", NULL, "Do you really want to", msg->use_passphrase ? "enable passphrase" : "disable passphrase", "encryption?", NULL, NULL, NULL);
if (!protectButton(ButtonRequestType_ButtonRequest_ProtectCall, false)) { if (!protectButton(ButtonRequestType_ButtonRequest_ProtectCall, false)) {
fsm_sendFailure(FailureType_Failure_ActionCancelled, "Apply settings cancelled"); fsm_sendFailure(FailureType_Failure_ActionCancelled, "Apply settings cancelled");
layoutHome(); layoutHome();