1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-03-10 21:26:07 +00:00

chore(core/rust): fix formatting

This commit is contained in:
Martin Milata 2024-04-24 17:35:55 +02:00
parent 908f123dbf
commit 1b6b2d2b9f
2 changed files with 5 additions and 8 deletions

View File

@ -60,12 +60,9 @@ impl AddressDetails {
) )
.with_cancel_button() .with_cancel_button()
.with_border(theme::borders_horizontal_scroll()), .with_border(theme::borders_horizontal_scroll()),
details: Frame::left_aligned( details: Frame::left_aligned(details_title, para.into_paragraphs())
details_title, .with_cancel_button()
para.into_paragraphs(), .with_border(theme::borders_horizontal_scroll()),
)
.with_cancel_button()
.with_border(theme::borders_horizontal_scroll()),
xpub_view: Frame::left_aligned( xpub_view: Frame::left_aligned(
" \n ".into(), " \n ".into(),
Paragraph::new(&theme::TEXT_MONO, "").into_paragraphs(), Paragraph::new(&theme::TEXT_MONO, "").into_paragraphs(),

View File

@ -23,9 +23,9 @@ use heapless::String;
const MAX_LENGTH: usize = 8; const MAX_LENGTH: usize = 8;
pub struct Bip39Input { pub struct Bip39Input {
button: Button<>, button: Button,
// used only to keep track of suggestion text color // used only to keep track of suggestion text color
button_suggestion: Button<>, button_suggestion: Button,
textbox: TextBox<MAX_LENGTH>, textbox: TextBox<MAX_LENGTH>,
multi_tap: MultiTapKeyboard, multi_tap: MultiTapKeyboard,
options_num: Option<usize>, options_num: Option<usize>,