No need to set nbMaxLinesForValue to 0, use NB_MAX_LINES_IN_REVIEW

This commit is contained in:
Jorge Martins
2023-07-19 11:59:37 +02:00
parent 7e2cef182b
commit 2c2d933043
2 changed files with 1 additions and 3 deletions

View File

@@ -29,7 +29,7 @@ static bool display_review_page(uint8_t page, nbgl_pageContent_t *content) {
nbgl_getTextMaxLenInNbLines(BAGL_FONT_INTER_MEDIUM_32px,
strings.tmp.tmp,
SCREEN_WIDTH - (2 * BORDER_MARGIN),
9,
NB_MAX_LINES_IN_REVIEW,
&len);
strings.tmp.tmp[len] = '\0';
@@ -39,7 +39,6 @@ static bool display_review_page(uint8_t page, nbgl_pageContent_t *content) {
content->tagValueList.nbPairs = 1;
content->tagValueList.pairs = &pair;
content->tagValueList.wrapping = false;
content->tagValueList.nbMaxLinesForValue = 0;
ret = true;
break;