diff --git a/core/embed/rust/src/ui/model_tr/component/flow.rs b/core/embed/rust/src/ui/model_tr/component/flow.rs index f1363bdec6..43c599e15b 100644 --- a/core/embed/rust/src/ui/model_tr/component/flow.rs +++ b/core/embed/rust/src/ui/model_tr/component/flow.rs @@ -20,8 +20,9 @@ where pages: FlowPages, /// Instance of the current Page current_page: Page, - /// Title being shown at the top in bold + /// Title being shown at the top in bold upper title: Option, + has_common_title: bool, scrollbar: Child<ScrollBar>, content_area: Rect, title_area: Rect, @@ -46,6 +47,7 @@ where pages, current_page, title, + has_common_title: false, content_area: Rect::zero(), title_area: Rect::zero(), scrollbar: Child::new(ScrollBar::to_be_filled_later()), @@ -65,6 +67,7 @@ where /// with the page content, as the content will be offset. pub fn with_common_title(mut self, title: TString<'static>) -> Self { self.title = Some(Title::new(title)); + self.has_common_title = true; self }