diff --git a/core/embed/rust/src/ui/layout_eckhart/ui_firmware.rs b/core/embed/rust/src/ui/layout_eckhart/ui_firmware.rs index b8aed41841..2ec8583c60 100644 --- a/core/embed/rust/src/ui/layout_eckhart/ui_firmware.rs +++ b/core/embed/rust/src/ui/layout_eckhart/ui_firmware.rs @@ -565,12 +565,27 @@ impl FirmwareUI for UIEckhart { Ok(layout) } + // TODO: This is a temporary implementation so the UI can be functional. + // TODO: This is a temporary implementation so the UI can be functional. fn show_progress( - _description: TString<'static>, + description: TString<'static>, _indeterminate: bool, - _title: Option>, + title: Option>, ) -> Result { - Err::, Error>(Error::ValueError(c"not implemented")) + let (title, description) = if let Some(title) = title { + (title, description) + } else { + (description, "".into()) + }; + + let paragraphs = Paragraph::new(&theme::TEXT_REGULAR, description) + .into_paragraphs() + .with_placement(LinearPlacement::vertical()); + let header = Header::new(title); + let screen = TextScreen::new(paragraphs).with_header(header); + + let layout = RootComponent::new(screen); + Ok(layout) } fn show_progress_coinjoin(