From aa5d1526e8445e1d8d93fd156c17d86a5ba01c22 Mon Sep 17 00:00:00 2001 From: Francois Beutin Date: Thu, 23 Nov 2023 16:26:07 +0100 Subject: [PATCH] Revert "Stax: Adapt for API LEVEL 14 (#499)" This reverts commit d8da84da65a491b8ab2213fb6f84c90adad27894. --- src_nbgl/ui_sign_712.c | 3 +-- src_nbgl/ui_sign_message.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src_nbgl/ui_sign_712.c b/src_nbgl/ui_sign_712.c index f53add1ec..4d9aae7a3 100644 --- a/src_nbgl/ui_sign_712.c +++ b/src_nbgl/ui_sign_712.c @@ -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; diff --git a/src_nbgl/ui_sign_message.c b/src_nbgl/ui_sign_message.c index a44687269..6d85f80e8 100644 --- a/src_nbgl/ui_sign_message.c +++ b/src_nbgl/ui_sign_message.c @@ -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;