1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-18 21:48:13 +00:00

fix(core): T2B1 - left align title when changing homescreen

[no changelog]
This commit is contained in:
tychovrahe 2024-06-12 17:12:08 +02:00 committed by TychoVrahe
parent 9ab2ba9157
commit 60add32e3b

View File

@ -435,7 +435,7 @@ impl ConfirmHomescreen {
pub fn new(title: TString<'static>, image: BinaryData<'static>) -> Self {
let btn_layout = ButtonLayout::cancel_none_text(TR::buttons__change.into());
ConfirmHomescreen {
title: Child::new(Label::centered(title, theme::TEXT_BOLD_UPPER)),
title: Child::new(Label::left_aligned(title, theme::TEXT_BOLD_UPPER)),
image,
buttons: Child::new(ButtonController::new(btn_layout)),
}