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 eec383f commit 4534b3fCopy full SHA for 4534b3f
lib_nbgl/src/nbgl_use_case.c
@@ -3017,9 +3017,9 @@ uint8_t nbgl_useCaseGetNbSwitchesInPage(uint8_t nbSwit
3017
{
3018
uint8_t nbSwitchesInPage = 0;
3019
uint16_t currentHeight = 0;
3020
- uint16_t previousHeight;
3021
- uint16_t navHeight = withNav ? SIMPLE_FOOTER_HEIGHT : 0;
3022
- 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);
3023
3024
while (nbSwitchesInPage < nbSwitches) {
3025
// The text string must be a 1 liner and its height is LIST_ITEM_MIN_TEXT_HEIGHT
0 commit comments