diff --git a/app/src/apdu_pubkey.c b/app/src/apdu_pubkey.c index f8bf768f6..cad0ca69c 100644 --- a/app/src/apdu_pubkey.c +++ b/app/src/apdu_pubkey.c @@ -98,8 +98,7 @@ prompt_address(void) tz_ui_stream_push(TZ_UI_STREAM_CB_ACCEPT, "Accept?", "Press both buttons to accept.", TZ_UI_LAYOUT_BNP, TZ_UI_ICON_TICK); - tz_ui_stream_push(TZ_UI_STREAM_CB_REJECT, "Reject?", - "Press both buttons to reject.", TZ_UI_LAYOUT_BNP, + tz_ui_stream_push(TZ_UI_STREAM_CB_REJECT, "Reject", "", TZ_UI_LAYOUT_BP, TZ_UI_ICON_CROSS); tz_ui_stream_close(); tz_ui_stream(); diff --git a/app/src/apdu_sign.c b/app/src/apdu_sign.c index 0432e7c5f..06e60af67 100644 --- a/app/src/apdu_sign.c +++ b/app/src/apdu_sign.c @@ -85,8 +85,7 @@ tz_ui_stream_push_accept_reject(void) tz_ui_stream_push(TZ_UI_STREAM_CB_ACCEPT, "Accept", "and send", TZ_UI_LAYOUT_BP, TZ_UI_ICON_TICK); #endif - tz_ui_stream_push(TZ_UI_STREAM_CB_REJECT, "Reject?", - "Press both buttons to reject.", TZ_UI_LAYOUT_BNP, + tz_ui_stream_push(TZ_UI_STREAM_CB_REJECT, "Reject", "", TZ_UI_LAYOUT_BP, TZ_UI_ICON_CROSS); FUNC_LEAVE(); } diff --git a/tests/integration/test_runtime.sh b/tests/integration/test_runtime.sh index c196ac4f9..bf5014c8d 100644 --- a/tests/integration/test_runtime.sh +++ b/tests/integration/test_runtime.sh @@ -229,11 +229,7 @@ expected_accept_public_key() { expected_reject() { echo " - expected_reject" - if [ "$TARGET" == "nanos" ]; then - expect_full_text 'Reject?' - else - expect_full_text 'Reject?' 'Press both buttons to reject.' - fi + expect_full_text 'Reject' } expected_parsing_error() {