diff --git a/core/embed/rust/src/ui/model_mercury/component/frame.rs b/core/embed/rust/src/ui/model_mercury/component/frame.rs index 14005fd891..a2f80b6884 100644 --- a/core/embed/rust/src/ui/model_mercury/component/frame.rs +++ b/core/embed/rust/src/ui/model_mercury/component/frame.rs @@ -2,11 +2,10 @@ use crate::{ strutil::TString, ui::{ component::{ - base::ComponentExt, label::Label, swipe_detect::{SwipeConfig, SwipeSettings}, text::TextStyle, - Child, Component, Event, + Component, Event, Event::Swipe, EventCtx, SwipeDetect, SwipeDirection, }, @@ -28,11 +27,11 @@ const BUTTON_EXPAND_BORDER: i16 = 32; pub struct Frame { border: Insets, bounds: Rect, - title: Child>, - subtitle: Option>>, - button: Option>, + title: Label<'static>, + subtitle: Option>, + button: Option