From 60add32e3b32d5d8fd1d01754c5b7137157cbb4a Mon Sep 17 00:00:00 2001 From: tychovrahe Date: Wed, 12 Jun 2024 17:12:08 +0200 Subject: [PATCH] fix(core): T2B1 - left align title when changing homescreen [no changelog] --- core/embed/rust/src/ui/model_tr/component/homescreen.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/embed/rust/src/ui/model_tr/component/homescreen.rs b/core/embed/rust/src/ui/model_tr/component/homescreen.rs index a8a504869..8f6ddb605 100644 --- a/core/embed/rust/src/ui/model_tr/component/homescreen.rs +++ b/core/embed/rust/src/ui/model_tr/component/homescreen.rs @@ -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)), }