Skip to content

Commit

Permalink
Merge pull request #700 from LedgerHQ/fix-tap-to-continue-in-bold
Browse files Browse the repository at this point in the history
Fix "tap to continue" in bold
  • Loading branch information
nroggeman-ledger authored Jun 17, 2024
2 parents b3fb960 + 6cdb4fd commit d38fa36
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib_nbgl/src/nbgl_layout.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d38fa36

Please sign in to comment.