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 f1ee74ed44..287cad3c20 100644 --- a/core/embed/rust/src/ui/model_mercury/component/frame.rs +++ b/core/embed/rust/src/ui/model_mercury/component/frame.rs @@ -2,7 +2,6 @@ use crate::{ strutil::TString, ui::{ component::{ - label::Label, swipe_detect::{SwipeConfig, SwipeSettings}, text::TextStyle, Component, Event, @@ -19,19 +18,15 @@ use crate::{ }, }; -use super::{theme, Button, ButtonMsg, ButtonStyleSheet, CancelInfoConfirmMsg, Footer}; - -const BUTTON_EXPAND_BORDER: i16 = 32; +use super::{theme, ButtonMsg, ButtonStyleSheet, CancelInfoConfirmMsg, Footer, Header}; #[derive(Clone)] pub struct Frame { border: Insets, bounds: Rect, - title: Label<'static>, - subtitle: Option>, - button: Option