chore(eckhart): make warning button multi line
What changed, and why it matters
This is a trivial user-interface layout change. It switches one button in a warning screen from a single-line text button to a multi-line text button so longer button labels can wrap. There is no security relevance in the code change itself.
No security action needed. Treat as normal UI/layout maintenance.
Security signals we found
No strong security signals were identified.
Evidence from the diff
In core/embed/rust/src/ui/layout_eckhart/ui_firmware.rs, the warning confirmation dialog’s action bar changes from Button::with_single_line_text(button) to Button::with_text(button) when a cancel button is also present. This is purely a UI rendering/layout adjustment for the Eckhart hardware layout; no logic, authorization, cryptography, or input handling is modified.
Changed components
core/embed/rust/src/ui/layout_eckhart/ui_firmware.rsInspect captured patch +1 / −1
diff --git a/core/embed/rust/src/ui/layout_eckhart/ui_firmware.rs b/core/embed/rust/src/ui/layout_eckhart/ui_firmware.rs
index 39ae35c9..6e27581e 100644
--- a/core/embed/rust/src/ui/layout_eckhart/ui_firmware.rs
+++ b/core/embed/rust/src/ui/layout_eckhart/ui_firmware.rs
@@ -1651,7 +1651,7 @@ impl FirmwareUI for UIEckhart {
let action_bar = if allow_cancel {
ActionBar::new_double(
Button::with_icon(theme::ICON_CROSS),
- Button::with_single_line_text(button),
+ Button::with_text(button),
)
} else {
ActionBar::new_single(Button::with_text(button))
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.