diff --git a/core/embed/rust/src/ui/layout_eckhart/component/header.rs b/core/embed/rust/src/ui/layout_eckhart/component/header.rs index a191f17897..06965987de 100644 --- a/core/embed/rust/src/ui/layout_eckhart/component/header.rs +++ b/core/embed/rust/src/ui/layout_eckhart/component/header.rs @@ -84,6 +84,7 @@ pub struct Header { #[derive(Copy, Clone)] pub enum HeaderMsg { + Back, Cancelled, Menu, } diff --git a/core/embed/rust/src/ui/layout_eckhart/component/text_screen.rs b/core/embed/rust/src/ui/layout_eckhart/component/text_screen.rs index 3656cdaed1..6c3f973ec0 100644 --- a/core/embed/rust/src/ui/layout_eckhart/component/text_screen.rs +++ b/core/embed/rust/src/ui/layout_eckhart/component/text_screen.rs @@ -105,6 +105,7 @@ where match msg { HeaderMsg::Cancelled => return Some(TextScreenMsg::Cancelled), HeaderMsg::Menu => return Some(TextScreenMsg::Menu), + _ => {} } } if let Some(msg) = self.action_bar.event(ctx, event) {