Skip to content

Commit

Permalink
Merge pull request #620 from LedgerHQ/fix-fweo-1088-nb-max-suggestion…
Browse files Browse the repository at this point in the history
…-buttons

Fix FWEO-1088 - more suggestion buttons on Flex
  • Loading branch information
nroggeman-ledger authored Apr 12, 2024
2 parents b93f920 + a3587fd commit 2123272
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib_nbgl/include/nbgl_layout.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ extern "C" {
///< pressed in the navigation bar
#define EXIT_PAGE 0xFF

#define NB_MAX_SUGGESTION_BUTTONS 4
#ifdef TARGET_STAX
#define NB_MAX_SUGGESTION_BUTTONS 4
#define NB_MAX_VISIBLE_SUGGESTION_BUTTONS NB_MAX_SUGGESTION_BUTTONS
#define TOUCHABLE_HEADER_BAR_HEIGHT 88
#define TOUCHABLE_MAIN_BAR_HEIGHT 88
Expand All @@ -48,6 +48,7 @@ extern "C" {
#define SMALL_CENTERING_HEADER 24
#define LONG_PRESS_BUTTON_HEIGHT 128
#else // TARGET_STAX
#define NB_MAX_SUGGESTION_BUTTONS 6
// only 2 buttons are visible at the same time on Flex
#define NB_MAX_VISIBLE_SUGGESTION_BUTTONS 2
#define TOUCHABLE_HEADER_BAR_HEIGHT 96
Expand Down

0 comments on commit 2123272

Please sign in to comment.