Skip to content

Commit

Permalink
Stax: Adapt for API LEVEL 14 (#499)
Browse files Browse the repository at this point in the history
  • Loading branch information
abonnaudet-ledger authored Nov 21, 2023
1 parent 6212f2e commit d8da84d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src_nbgl/ui_sign_712.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ static bool display_review_page(uint8_t page, nbgl_pageContent_t *content) {
strings.tmp.tmp,
SCREEN_WIDTH - (2 * BORDER_MARGIN),
NB_MAX_LINES_IN_REVIEW,
&len);
&len,
false);
strings.tmp.tmp[len] = '\0';

pair.item = strings.tmp.tmp2;
Expand Down
3 changes: 2 additions & 1 deletion src_nbgl/ui_sign_message.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ static bool display_message(nbgl_pageContent_t *content) {
(char *) g_stax_shared_buffer,
SCREEN_WIDTH - (2 * BORDER_MARGIN),
NB_MAX_LINES_IN_REVIEW,
&len);
&len,
false);

stringsTmpTmpIdx = len - eip191MessageIdx;
eip191MessageIdx = len;
Expand Down

0 comments on commit d8da84d

Please sign in to comment.