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

protect.c: Display 'Verifying PIN' instead of 'Wrong PIN entered' in the PIN_UI_WAIT_CALLBACK.

This commit is contained in:
andrew 2019-02-07 16:27:03 +01:00 committed by Pavol Rusnak
parent 7b0f5e031d
commit c592a09459
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -164,7 +164,7 @@ secbool protectPinUiCallback(uint32_t wait, uint32_t progress)
// Change "seconds" to "second".
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.
protectAbortedByCancel = (msg_tiny_id == MessageType_MessageType_Cancel);