feat(bolt): increase item limit in show_info_with_cancel
What changed, and why it matters
This commit changes the on-screen display component used by one user-interface helper from a short paragraph container to a long one, raising the maximum number of info lines that can be shown from 4 to 18. The commit message explicitly calls it a 'preparatory commit' and there is no indication of a security bug or fix.
No security action required. Treat as a normal UI-capacity refactor and review the follow-up commits that this preparatory change enables.
Security signals we found
No strong security signals were identified.
Evidence from the diff
In core/embed/rust/src/ui/layout_bolt/ui_firmware.rs, the show_info_with_cancel implementation switches from ParagraphVecShort::new() to ParagraphVecLong::new(). The comment notes that one info item consumes two paragraphs, so the effective item limit rises from 4 to 18. No bounds-checking, parsing, or trust-boundary logic is changed; only the UI buffer type is enlarged.
Changed components
core/embed/rust/src/ui/layout_bolt/ui_firmware.rsshow_info_with_cancel UI helperInspect captured patch +1 / −1
### core/embed/rust/src/ui/layout_bolt/ui_firmware.rs
@@ -1025,7 +1025,7 @@ impl FirmwareUI for UIBolt {
horizontal: bool,
chunkify: bool,
) -> Result<impl LayoutMaybeTrace, Error> {
- let mut paragraphs = ParagraphVecShort::new();
+ let mut paragraphs = ParagraphVecLong::new();
for para in IterBuf::new().try_iterate(items)? {
let [key, value, _]: [Obj; 3] = util::iter_into_array(para)?;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.