We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f9a0e3 commit 4941cfcCopy full SHA for 4941cfc
lib_nbgl/src/nbgl_use_case.c
@@ -3083,9 +3083,9 @@ uint8_t nbgl_useCaseGetNbSwitchesInPage(uint8_t nbSwit
3083
{
3084
uint8_t nbSwitchesInPage = 0;
3085
uint16_t currentHeight = 0;
3086
- uint16_t previousHeight;
3087
- uint16_t navHeight = withNav ? SIMPLE_FOOTER_HEIGHT : 0;
3088
- nbgl_contentSwitch_t *switchArray = (nbgl_contentSwitch_t *) PIC(switchesList->switches);
+ uint16_t previousHeight = 0;
+ uint16_t navHeight = withNav ? SIMPLE_FOOTER_HEIGHT : 0;
+ nbgl_contentSwitch_t *switchArray = (nbgl_contentSwitch_t *) PIC(switchesList->switches);
3089
3090
while (nbSwitchesInPage < nbSwitches) {
3091
// The text string must be a 1 liner and its height is LIST_ITEM_MIN_TEXT_HEIGHT
0 commit comments