Skip to content

Commit c403485

Browse files
committed
fixup! chore(core/eckhart): extend header buttons
1 parent 665c862 commit c403485

File tree

1 file changed

+8
-2
lines changed
  • core/embed/rust/src/ui/layout_eckhart/firmware

1 file changed

+8
-2
lines changed

core/embed/rust/src/ui/layout_eckhart/firmware/header.rs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,11 @@ impl Header {
7878
debug_assert!(matches!(button.content(), ButtonContent::Icon(_)));
7979
Self {
8080
icon: None,
81-
left_button: Some(button.with_expanded_touch_area(Self::BUTTON_TOUCH_EXPAND)),
81+
left_button: Some(
82+
button
83+
.with_expanded_touch_area(Self::BUTTON_TOUCH_EXPAND)
84+
.with_radius(12),
85+
),
8286
left_button_msg: msg,
8387
..self
8488
}
@@ -87,7 +91,9 @@ impl Header {
8791
#[inline(never)]
8892
pub fn with_menu_button(self) -> Self {
8993
self.with_right_button(
90-
Button::with_icon(theme::ICON_MENU).styled(theme::button_header()),
94+
Button::with_icon(theme::ICON_MENU)
95+
.styled(theme::button_header())
96+
.with_radius(12),
9197
HeaderMsg::Menu,
9298
)
9399
}

0 commit comments

Comments
 (0)