chore(core/eckhart): Increase top homelabel padding
What changed, and why it matters
This commit is a purely cosmetic UI tweak for the Trezor hardware wallet. It increases the top padding of the home screen label from a theme-defined value to a fixed 38 pixels. There is no security relevance in the change itself.
No security action needed. Treat as normal UI polish.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The patch replaces Insets::top(theme::PADDING) with a new constant HOMELABEL_INSETS = Insets::top(38) when computing the label placement area on the Eckhart layout homescreen. Only layout/inset values changed; no logic, input handling, memory operations, or trust boundaries are affected.
Changed components
core/embed/rust/src/ui/layout_eckhart/firmware/homescreen.rsInspect captured patch +3 / −3
diff --git a/core/embed/rust/src/ui/layout_eckhart/firmware/homescreen.rs b/core/embed/rust/src/ui/layout_eckhart/firmware/homescreen.rs
index b2621089..1a7ff130 100644
--- a/core/embed/rust/src/ui/layout_eckhart/firmware/homescreen.rs
+++ b/core/embed/rust/src/ui/layout_eckhart/firmware/homescreen.rs
@@ -62,6 +62,8 @@ pub enum HomescreenMsg {
}
impl Homescreen {
+ const HOMELABEL_INSETS: Insets = Insets::top(38);
+
pub fn new(
label: TString<'static>,
lockable: bool,
@@ -190,9 +192,7 @@ impl Component for Homescreen {
} else {
rest
};
- let label_area = rest
- .inset(theme::SIDE_INSETS)
- .inset(Insets::top(theme::PADDING));
+ let label_area = rest.inset(theme::SIDE_INSETS).inset(Self::HOMELABEL_INSETS);
self.label.place(label_area);
self.action_bar.place(bar_area);
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.