From c2467d56bc5af918197c48860a5b1d73e86469b8 Mon Sep 17 00:00:00 2001 From: Alexandre Paillier Date: Tue, 25 Jun 2024 13:55:27 +0200 Subject: [PATCH] Fix compatibility with Stax 1.4.0 --- src_nbgl/ui_approve_tx.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src_nbgl/ui_approve_tx.c b/src_nbgl/ui_approve_tx.c index bdc8e8c..eaf7bf6 100644 --- a/src_nbgl/ui_approve_tx.c +++ b/src_nbgl/ui_approve_tx.c @@ -175,9 +175,11 @@ static void reviewCommon(void) { pairsList.pairs = pairs; nbgl_operationType_t op = TYPE_TRANSACTION; +#if API_LEVEL >= 19 if (tmpContent.txContent.dataPresent) { op |= BLIND_OPERATION; } +#endif if (tx_approval_context.fromPlugin) { uint32_t buf_size = SHARED_BUFFER_SIZE / 2; char op_name[sizeof(strings.common.fullAmount)];