Skip to content

Commit 530cfda

Browse files
use NB_MAX_LINES_IN_REVIEW
1 parent beea483 commit 530cfda

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src_nbgl/ui_sign_message.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ static bool display_message(nbgl_pageContent_t *content) {
4646
reached = nbgl_getTextMaxLenInNbLines(BAGL_FONT_INTER_MEDIUM_32px,
4747
(char *) g_stax_shared_buffer,
4848
SCREEN_WIDTH - (2 * BORDER_MARGIN),
49-
9,
49+
NB_MAX_LINES_IN_REVIEW,
5050
&len);
5151

5252
stringsTmpTmpIdx = len - eip191MessageIdx;
@@ -71,7 +71,7 @@ static bool display_message(nbgl_pageContent_t *content) {
7171
content->tagValueList.nbPairs = 1;
7272
content->tagValueList.pairs = &pair;
7373
content->tagValueList.smallCaseForValue = false;
74-
content->tagValueList.nbMaxLinesForValue = 9;
74+
content->tagValueList.nbMaxLinesForValue = NB_MAX_LINES_IN_REVIEW;
7575
content->tagValueList.wrapping = false;
7676

7777
if ((g_action != UI_191_ACTION_IDLE) && (stringsTmpTmpIdx >= strlen(strings.tmp.tmp))) {

0 commit comments

Comments
 (0)