From 8ce343a19706bb24241c50de45c9cbfcbd92c52d Mon Sep 17 00:00:00 2001 From: Nicolas Roggeman Date: Mon, 17 Jun 2024 13:57:55 +0200 Subject: [PATCH] Fix "tap to continue" in bold --- lib_nbgl/src/nbgl_layout.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib_nbgl/src/nbgl_layout.c b/lib_nbgl/src/nbgl_layout.c index c2b0329af..5aade0ef8 100644 --- a/lib_nbgl/src/nbgl_layout.c +++ b/lib_nbgl/src/nbgl_layout.c @@ -2553,12 +2553,13 @@ int nbgl_layoutAddExtendedFooter(nbgl_layout_t *layout, const nbgl_layoutFooter_ } textArea->obj.alignment = BOTTOM_MIDDLE; - textArea->textColor = (footerDesc->simpleText.mutedOut) ? LIGHT_GRAY : BLACK; + textArea->textColor = (footerDesc->simpleText.mutedOut) ? DARK_GRAY : BLACK; textArea->obj.area.width = AVAILABLE_WIDTH; textArea->obj.area.height = (footerDesc->simpleText.mutedOut) ? SMALL_FOOTER_HEIGHT : SIMPLE_FOOTER_HEIGHT; - textArea->text = PIC(footerDesc->simpleText.text); - textArea->fontId = SMALL_BOLD_FONT; + textArea->text = PIC(footerDesc->simpleText.text); + textArea->fontId + = (footerDesc->simpleText.mutedOut) ? SMALL_REGULAR_FONT : SMALL_BOLD_FONT; textArea->textAlignment = CENTER; textArea->obj.touchMask = (1 << TOUCHED); textArea->obj.touchId = BOTTOM_BUTTON_ID;