diff --git a/core/embed/rust/src/ui/model_tr/component/button.rs b/core/embed/rust/src/ui/model_tr/component/button.rs index cf9ee45d0..a631e188f 100644 --- a/core/embed/rust/src/ui/model_tr/component/button.rs +++ b/core/embed/rust/src/ui/model_tr/component/button.rs @@ -18,7 +18,7 @@ pub enum ButtonPos { } impl ButtonPos { - fn hit(&self, b: &PhysicalButton) -> bool { + pub fn hit(&self, b: &PhysicalButton) -> bool { matches!( (self, b), (Self::Left, PhysicalButton::Left) | (Self::Right, PhysicalButton::Right)