Skip to content

Commit

Permalink
Revert "Stax: Adapt for API LEVEL 14 (#499)"
Browse files Browse the repository at this point in the history
This reverts commit d8da84d.
  • Loading branch information
fbeutin-ledger committed Nov 23, 2023
1 parent d8da84d commit aa5d152
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src_nbgl/ui_sign_712.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ 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,
false);
&len);
strings.tmp.tmp[len] = '\0';

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

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

0 comments on commit aa5d152

Please sign in to comment.