From 7e82f275536ec85c83eec25f6860134de6093857 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Tue, 19 Feb 2019 15:32:18 +0100 Subject: [PATCH] protect: make waiting UI more sexy --- firmware/protect.c | 6 +++++- vendor/trezor-storage | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/firmware/protect.c b/firmware/protect.c index 1802ed2019..99223ae332 100644 --- a/firmware/protect.c +++ b/firmware/protect.c @@ -162,7 +162,11 @@ secbool protectPinUiCallback(uint32_t wait, uint32_t progress) // Change "seconds" to "second". 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 oledFrame(0, OLED_HEIGHT - 8, OLED_WIDTH - 1, OLED_HEIGHT - 1); oledBox(1, OLED_HEIGHT - 7, OLED_WIDTH - 2, OLED_HEIGHT - 2, 0); diff --git a/vendor/trezor-storage b/vendor/trezor-storage index d7e7d8ef27..d715873ee6 160000 --- a/vendor/trezor-storage +++ b/vendor/trezor-storage @@ -1 +1 @@ -Subproject commit d7e7d8ef27cd57480d5c4eed17541f9a5bc72f72 +Subproject commit d715873ee62d776ddc0f85028f7622374d4e0fe7