Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Align Stax & Flex max elements per content type (NBGL) #729

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions lib_nbgl/src/nbgl_use_case.c
Original file line number Diff line number Diff line change
Expand Up @@ -199,18 +199,6 @@ static nbgl_BundleNavContext_t bundleNavContext;

// indexed by nbgl_contentType_t
static const uint8_t nbMaxElementsPerContentType[] = {
#ifdef TARGET_STAX
1, // CENTERED_INFO
1, // INFO_LONG_PRESS
1, // INFO_BUTTON
1, // TAG_VALUE_LIST (computed dynamically)
1, // TAG_VALUE_DETAILS
1, // TAG_VALUE_CONFIRM
3, // SWITCHES_LIST
3, // INFOS_LIST
5, // CHOICES_LIST
5, // BARS_LIST
#else // TARGET_STAX
1, // CENTERED_INFO
1, // INFO_LONG_PRESS
1, // INFO_BUTTON
Expand All @@ -221,7 +209,6 @@ static const uint8_t nbMaxElementsPerContentType[] = {
2, // INFOS_LIST
4, // CHOICES_LIST
4, // BARS_LIST
#endif // TARGET_STAX
};

#ifdef NBGL_QRCODE
Expand Down
Loading