Skip to content

Commit

Permalink
Merge pull request #621 from LedgerHQ/abo_chpick_api_level_18
Browse files Browse the repository at this point in the history
Fix FWEO-1088 - more suggestion buttons on Flex
  • Loading branch information
abonnaudet-ledger authored Apr 15, 2024
2 parents 557ce7a + 7e69b2f commit fbed736
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 fbed736

Please sign in to comment.