From 022f5f85f381cf20d8fc4c187e8b9960f66c3002 Mon Sep 17 00:00:00 2001 From: Arthur Bonnaudet Date: Tue, 21 Nov 2023 16:06:06 +0100 Subject: [PATCH] Stax: Adapt for API LEVEL 14 --- src_nbgl/ui_sign_712.c | 3 ++- src_nbgl/ui_sign_message.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src_nbgl/ui_sign_712.c b/src_nbgl/ui_sign_712.c index 4d9aae7a3..f53add1ec 100644 --- a/src_nbgl/ui_sign_712.c +++ b/src_nbgl/ui_sign_712.c @@ -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; diff --git a/src_nbgl/ui_sign_message.c b/src_nbgl/ui_sign_message.c index 6d85f80e8..a44687269 100644 --- a/src_nbgl/ui_sign_message.c +++ b/src_nbgl/ui_sign_message.c @@ -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;