chore(core/delizia): use "Tap" footer on header-less warning
What changed, and why it matters
This is a tiny user-interface polish change for the Trezor hardware wallet. It changes one footer label from 'swipe up' to 'tap' on warning screens that have no header title. There is no security-relevant behavior change in the diff itself.
No security action required. Treat as a normal UI/UX commit.
Security signals we found
No strong security signals were identified.
Evidence from the diff
In core/embed/rust/src/ui/layout_delizia/ui_firmware.rs, the condition for attaching a tap-style footer instead of a swipe-up footer is widened from danger to danger || title.is_none(). This only affects how a communication warning is presented to the user; it does not alter input handling, validation, cryptography, or trust decisions.
Changed components
core/embed/rust/src/ui/layout_delizia/ui_firmware.rsInspect captured patch +1 / −1
diff --git a/core/embed/rust/src/ui/layout_delizia/ui_firmware.rs b/core/embed/rust/src/ui/layout_delizia/ui_firmware.rs
index 058fa9eb..a939aaa1 100644
--- a/core/embed/rust/src/ui/layout_delizia/ui_firmware.rs
+++ b/core/embed/rust/src/ui/layout_delizia/ui_firmware.rs
@@ -1271,7 +1271,7 @@ impl FirmwareUI for UIDelizia {
Frame::with_header(header, content)
}
};
- let frame = if danger {
+ let frame = if danger || title.is_none() {
frame.with_tap_footer(action)
} else {
frame.with_swipeup_footer(action)
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.