@@ -152,9 +152,14 @@ void ui_tx_simulation_opt_in(bool response_expected) {
152
152
.token = WARNING_CHOICE_TOKEN ,
153
153
.style = ROUNDED_AND_FOOTER_STYLE ,
154
154
.tuneId = TUNE_TAP_CASUAL };
155
- nbgl_layoutHeader_t headerDesc = {.type = HEADER_EMPTY ,
155
+
156
+ nbgl_layoutHeader_t headerDesc = {.type = HEADER_EXTENDED_BACK ,
156
157
.separationLine = false,
157
- .emptySpace .height = MEDIUM_CENTERING_HEADER };
158
+ .extendedBack .actionIcon = & QUESTION_CIRCLE_ICON ,
159
+ .extendedBack .backToken = NBGL_INVALID_TOKEN ,
160
+ .extendedBack .tuneId = TUNE_TAP_CASUAL ,
161
+ .extendedBack .text = NULL ,
162
+ .extendedBack .actionToken = WARNING_BUTTON_TOKEN };
158
163
159
164
g_response_expected = response_expected ;
160
165
layoutDescription .withLeftBorder = true;
@@ -164,14 +169,12 @@ void ui_tx_simulation_opt_in(bool response_expected) {
164
169
// add header
165
170
nbgl_layoutAddHeader (layoutCtx , & headerDesc );
166
171
167
- // add Top right info button
168
- nbgl_layoutAddTopRightButton (layoutCtx , & QUESTION_ICON , WARNING_BUTTON_TOKEN , TUNE_TAP_CASUAL );
169
-
170
172
// add main content
171
173
info .title = "Enable\nTransaction Check?" ;
172
174
info .description =
173
- "Get real-time warnings about risky transactions, powered by "
174
- "service providers. Learn more: ledger.com/tx-check" ;
175
+ "Get real-time warnings about risky Ethereum transactions. "
176
+ "Powered by service providers." ;
177
+ info .subText = "By enabling, you accept T&Cs: ledger.com/tx-check" ;
175
178
nbgl_layoutAddContentCenter (layoutCtx , & info );
176
179
177
180
// add button and footer on bottom
0 commit comments