mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-06-23 00:19:01 +00:00
protect.c: Display 'Verifying PIN' instead of 'Wrong PIN entered' in the PIN_UI_WAIT_CALLBACK.
This commit is contained in:
parent
7b0f5e031d
commit
c592a09459
@ -164,7 +164,7 @@ secbool protectPinUiCallback(uint32_t wait, uint32_t progress)
|
|||||||
// Change "seconds" to "second".
|
// Change "seconds" to "second".
|
||||||
secstrbuf[16] = 0;
|
secstrbuf[16] = 0;
|
||||||
}
|
}
|
||||||
layoutDialog(&bmp_icon_info, NULL, NULL, NULL, _("Wrong PIN entered"), NULL, _("Please wait"), secstr, _("to continue ..."), NULL);
|
layoutDialog(&bmp_icon_info, NULL, NULL, NULL, _("Verifying PIN"), NULL, _("Please wait"), secstr, _("to continue ..."), NULL);
|
||||||
|
|
||||||
// Check for Cancel / Initialize.
|
// Check for Cancel / Initialize.
|
||||||
protectAbortedByCancel = (msg_tiny_id == MessageType_MessageType_Cancel);
|
protectAbortedByCancel = (msg_tiny_id == MessageType_MessageType_Cancel);
|
||||||
|
Loading…
Reference in New Issue
Block a user