fix(core): use default cancel icon in SD card
What changed, and why it matters
This is a tiny user-interface tweak. It removes a custom 'Cancel' button label from an SD-card formatting confirmation screen so the text fits on one line in the Bolt layout. The button still exists; it just uses the device's default cancel icon/label instead. There is no security-relevant change.
No security action needed. Treat as a normal UI/layout fix.
Security signals we found
No strong security signals were identified.
Evidence from the diff
In core/src/apps/common/sdcard.py, the _confirm_format_card() dialog no longer passes verb_cancel=TR.buttons__cancel to confirm_action(). The cancel action remains available via the framework’s default cancel handling. The change is purely cosmetic to accommodate the Bolt UI layout.
Changed components
core/src/apps/common/sdcard.pyInspect captured patch +0 / −1
diff --git a/core/src/apps/common/sdcard.py b/core/src/apps/common/sdcard.py
index 6246d05a..8ed5e324 100644
--- a/core/src/apps/common/sdcard.py
+++ b/core/src/apps/common/sdcard.py
@@ -55,7 +55,6 @@ async def _confirm_format_card() -> None:
TR.sd_card__unknown_filesystem,
TR.sd_card__use_different_card,
verb=TR.buttons__format,
- verb_cancel=TR.buttons__cancel,
exc=SdCardUnavailable("SD card not formatted."),
)
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.