1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-23 23:08:14 +00:00

fix(legacy): update typo (we lock device after 5 seconds, not 2 seconds)

This commit is contained in:
Pavol Rusnak 2021-01-04 19:55:41 +01:00
parent 93215ae3c7
commit af716d0843

View File

@ -50,8 +50,8 @@ void check_lock_screen(void) {
return;
}
// button held for long enough (2 seconds)
if (layoutLast == layoutHome && button.NoDown >= 285000 * 2) {
// button held for long enough (5 seconds)
if (layoutLast == layoutHome && button.NoDown >= 114000 * 5) {
layoutDialog(&bmp_icon_question, _("Cancel"), _("Lock Device"), NULL,
_("Do you really want to"), _("lock your Trezor?"), NULL, NULL,
NULL, NULL);