fix(core/delizia): remove stale Pad::clear() call
What changed, and why it matters
This is a tiny build-fix patch, not a security change. A previous code cleanup removed a function called Pad::clear(), but a new screen in the passphrase input still tried to call it, causing the T3T1 hardware wallet firmware build to fail on the main branch. The patch deletes that leftover call. The call was already pointless because the screen redraws itself fully anyway.
No security action needed. Treat as a normal build-fix / code-cleanup commit.
Security signals we found
No strong security signals were identified.
Evidence from the diff
Commit 57b35a8 removes a stale call to self.pad.clear() in the Delizia layout’s passphrase input event handler. The method was removed in PR #8382 after PR #8367 had introduced this new usage, breaking the T3T1 build. The author notes the call had no functional effect because Pad::render() always fills its area and ctx.request_paint() already triggers a redraw. The change is a one-line deletion in core/embed/rust/src/ui/layout_delizia/component/keyboard/passphrase.rs.
Changed components
core/embed/rust/src/ui/layout_delizia/component/keyboard/passphrase.rsInspect captured patch +0 / −1
### core/embed/rust/src/ui/layout_delizia/component/keyboard/passphrase.rs
@@ -713,7 +713,6 @@ impl Component for Input {
fn event(&mut self, ctx: &mut EventCtx, event: Event) -> Option<Self::Msg> {
if self.eye_hint.process(ctx, event) {
- self.pad.clear();
ctx.request_paint();
}
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.