fix(eckhart): use `account_title` if available
What changed, and why it matters
This is a one-line UI label change. The Trezor device screen previously showed a generic 'Account info' menu label when confirming a transaction summary; now it shows a caller-supplied account title if one is provided, falling back to the generic label otherwise. There is no security-relevant behavior change visible in the diff.
No security action required; treat as a normal UI/UX fix.
Security signals we found
No strong security signals were identified.
Evidence from the diff
In core/embed/rust/src/ui/layout_eckhart/flow/confirm_summary.rs, the menu item text for account details is changed from a fixed translation key TR::address_details__account_info to account_title.unwrap_or(TR::address_details__account_info.into()). This is purely a display-string improvement for the Eckhart layout flow. No input validation, memory handling, cryptographic, or authorization logic is modified.
Changed components
core/embed/rust/src/ui/layout_eckhart/flow/confirm_summary.rsInspect captured patch +1 / −1
diff --git a/core/embed/rust/src/ui/layout_eckhart/flow/confirm_summary.rs b/core/embed/rust/src/ui/layout_eckhart/flow/confirm_summary.rs
index 1f2a70c2..71a6cd18 100644
--- a/core/embed/rust/src/ui/layout_eckhart/flow/confirm_summary.rs
+++ b/core/embed/rust/src/ui/layout_eckhart/flow/confirm_summary.rs
@@ -166,7 +166,7 @@ pub fn new_confirm_summary(
if account_paragraphs.is_some() {
menu.item(Button::new_menu_item(
- TR::address_details__account_info.into(),
+ account_title.unwrap_or(TR::address_details__account_info.into()),
theme::menu_item_title(),
));
unwrap!(menu_items.push(MENU_ITEM_ACCOUNT_INFO));
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.