diff --git a/core/embed/rust/src/ui/layout_eckhart/component/vertical_menu_screen.rs b/core/embed/rust/src/ui/layout_eckhart/component/vertical_menu_screen.rs index cf86459885..49afd92e58 100644 --- a/core/embed/rust/src/ui/layout_eckhart/component/vertical_menu_screen.rs +++ b/core/embed/rust/src/ui/layout_eckhart/component/vertical_menu_screen.rs @@ -7,8 +7,10 @@ use crate::{ Component, Event, EventCtx, SwipeDetect, }, event::{SwipeEvent, TouchEvent}, + flow::Swipable, geometry::{Alignment2D, Direction, Offset, Rect}, shape::{Renderer, ToifImage}, + util::Pager, }, }; @@ -173,6 +175,17 @@ impl Component for VerticalMenuScreen { } } +#[cfg(feature = "micropython")] +impl Swipable for VerticalMenuScreen { + fn get_swipe_config(&self) -> SwipeConfig { + self.swipe_config + } + + fn get_pager(&self) -> Pager { + Pager::single_page() + } +} + #[cfg(feature = "ui_debug")] impl crate::trace::Trace for VerticalMenuScreen { fn trace(&self, t: &mut dyn crate::trace::Tracer) {