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

pull/1410/head
Pavol Rusnak 3 years ago
parent 93215ae3c7
commit af716d0843

@ -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);

Loading…
Cancel
Save