fix(core): use `TEXT_MONO_DATA` for Delizia `confirm_with_info()`
What changed, and why it matters
This is a one-line visual styling fix in the Trezor hardware wallet's user interface. It changes which font style is used when displaying data values in a specific confirmation screen (confirm_with_info) on the Delizia layout. The old style was the general monospace font; the new style is a monospace font variant intended specifically for data. There is no direct evidence this change fixes a security vulnerability, but using the wrong font style could theoretically make important data harder to read or distinguish from labels, slightly weakening the user's ability to verify what they are approving.
Treat as a routine UI consistency fix. No urgent security action is warranted based on the diff alone. If reviewing for a release, verify that TEXT_MONO_DATA is the correct themed style and that no other Delizia screens use the wrong text style for data fields.
Security signals we found
UI presentation consistency fix
No input validation or memory-safety changes
No cryptographic or authorization changes
No changelog entry provided by vendor
Evidence from the diff
In core/embed/rust/src/ui/layout_delizia/ui_firmware.rs, the Delizia implementation of confirm_with_info() was using theme::TEXT_MONO for paragraphs marked as data. The patch changes this to theme::TEXT_MONO_DATA, which is the dedicated style for data fields. The change is purely presentational and aligns the Delizia layout with the intended theming. No logic, validation, memory handling, or cryptographic code is modified.
Changed components
Trezor firmware core UI layerDelizia layout confirm_with_info screenInspect 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 a6ad75ee..9ed92edc 100644
--- a/core/embed/rust/src/ui/layout_delizia/ui_firmware.rs
+++ b/core/embed/rust/src/ui/layout_delizia/ui_firmware.rs
@@ -476,7 +476,7 @@ impl FirmwareUI for UIDelizia {
let [text, is_data]: [Obj; 2] = util::iter_into_array(para)?;
let is_data = is_data.try_into()?;
let style: &TextStyle = if is_data {
- &theme::TEXT_MONO
+ &theme::TEXT_MONO_DATA
} else {
&theme::TEXT_NORMAL
};
Why this scored 18/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.