fix(core): add missing colons in Tron flows
What changed, and why it matters
This commit is a tiny UI text formatting fix for Tron cryptocurrency transaction screens on Trezor devices. It adds missing colons to the labels shown next to the amount and fee values, matching the formatting already used for other labels. There is no security issue here.
No security action needed. Treat as a normal UI polish commit.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The change wraps two string labels in with_colon() within the confirm_tron_summary flow in core/src/trezor/ui/layouts/caesar/__init__.py. This is purely cosmetic, ensuring consistent punctuation in the device display. No logic, validation, cryptography, or memory handling is modified.
Changed components
core/src/trezor/ui/layouts/caesar/__init__.pyInspect captured patch +2 / −2
### core/src/trezor/ui/layouts/caesar/__init__.py
@@ -2050,9 +2050,9 @@ async def confirm_tron_summary(
with trezorui_api.confirm_summary(
title=title or TR.words__title_summary,
amount=display_amount,
- amount_label=display_amount_label,
+ amount_label=with_colon(display_amount_label),
fee=display_fee,
- fee_label=display_fee_label,
+ fee_label=with_colon(display_fee_label),
account_items=with_colon(account_items),
account_title=TR.address_details__account_info,
) as layout: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.