1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-26 17:38:39 +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,10 +60,7 @@ 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,
para.into_paragraphs(),
)
.with_cancel_button() .with_cancel_button()
.with_border(theme::borders_horizontal_scroll()), .with_border(theme::borders_horizontal_scroll()),
xpub_view: Frame::left_aligned( xpub_view: Frame::left_aligned(

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>,