mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-15 09:50:57 +00:00
protect: make waiting UI more sexy
This commit is contained in:
parent
d95112ba05
commit
7e82f27553
@ -162,7 +162,11 @@ 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, _("Verifying PIN"), NULL, _("Please wait"), secstr, _("to continue ..."), NULL);
|
oledClear();
|
||||||
|
oledDrawStringCenter(OLED_WIDTH / 2, 0 * 9, _("Verifying PIN"), FONT_STANDARD);
|
||||||
|
oledDrawStringCenter(OLED_WIDTH / 2, 2 * 9, _("Please wait"), FONT_STANDARD);
|
||||||
|
oledDrawStringCenter(OLED_WIDTH / 2, 3 * 9, secstr, FONT_STANDARD);
|
||||||
|
oledDrawStringCenter(OLED_WIDTH / 2, 4 * 9, _("to continue ..."), FONT_STANDARD);
|
||||||
// progressbar
|
// progressbar
|
||||||
oledFrame(0, OLED_HEIGHT - 8, OLED_WIDTH - 1, OLED_HEIGHT - 1);
|
oledFrame(0, OLED_HEIGHT - 8, OLED_WIDTH - 1, OLED_HEIGHT - 1);
|
||||||
oledBox(1, OLED_HEIGHT - 7, OLED_WIDTH - 2, OLED_HEIGHT - 2, 0);
|
oledBox(1, OLED_HEIGHT - 7, OLED_WIDTH - 2, OLED_HEIGHT - 2, 0);
|
||||||
|
2
vendor/trezor-storage
vendored
2
vendor/trezor-storage
vendored
@ -1 +1 @@
|
|||||||
Subproject commit d7e7d8ef27cd57480d5c4eed17541f9a5bc72f72
|
Subproject commit d715873ee62d776ddc0f85028f7622374d4e0fe7
|
Loading…
Reference in New Issue
Block a user