diff --git a/core/embed/rust/src/ui/model_mercury/component/address_details.rs b/core/embed/rust/src/ui/model_mercury/component/address_details.rs index c3e7ca7dd8..2d80a05173 100644 --- a/core/embed/rust/src/ui/model_mercury/component/address_details.rs +++ b/core/embed/rust/src/ui/model_mercury/component/address_details.rs @@ -60,12 +60,9 @@ impl AddressDetails { ) .with_cancel_button() .with_border(theme::borders_horizontal_scroll()), - details: Frame::left_aligned( - details_title, - para.into_paragraphs(), - ) - .with_cancel_button() - .with_border(theme::borders_horizontal_scroll()), + details: Frame::left_aligned(details_title, para.into_paragraphs()) + .with_cancel_button() + .with_border(theme::borders_horizontal_scroll()), xpub_view: Frame::left_aligned( " \n ".into(), Paragraph::new(&theme::TEXT_MONO, "").into_paragraphs(), diff --git a/core/embed/rust/src/ui/model_mercury/component/keyboard/bip39.rs b/core/embed/rust/src/ui/model_mercury/component/keyboard/bip39.rs index 8697af3683..8aba67d343 100644 --- a/core/embed/rust/src/ui/model_mercury/component/keyboard/bip39.rs +++ b/core/embed/rust/src/ui/model_mercury/component/keyboard/bip39.rs @@ -23,9 +23,9 @@ use heapless::String; const MAX_LENGTH: usize = 8; pub struct Bip39Input { - button: Button<>, + button: Button, // used only to keep track of suggestion text color - button_suggestion: Button<>, + button_suggestion: Button, textbox: TextBox, multi_tap: MultiTapKeyboard, options_num: Option,