diff --git a/core/embed/rust/src/ui/layout_eckhart/component/action_bar.rs b/core/embed/rust/src/ui/layout_eckhart/component/action_bar.rs index a1ea5b485d..d10b101765 100644 --- a/core/embed/rust/src/ui/layout_eckhart/component/action_bar.rs +++ b/core/embed/rust/src/ui/layout_eckhart/component/action_bar.rs @@ -91,6 +91,13 @@ impl ActionBar { self } + pub fn set_touch_expansion(&mut self, expand: Insets) { + if let Some(btn) = &mut self.left_button { + btn.set_expanded_touch_area(expand); + } + self.right_button.set_expanded_touch_area(expand); + } + pub fn update(&mut self, new_pager: Pager) { match &mut self.mode { Mode::Double { pager } => {