From 152798629e470b94666cdf190eb37da81e8dfaf6 Mon Sep 17 00:00:00 2001 From: ardocrat Date: Fri, 11 Aug 2023 23:51:29 +0300 Subject: [PATCH] ui: fix title align for wallet creation --- src/gui/views/wallets/content.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/views/wallets/content.rs b/src/gui/views/wallets/content.rs index b581130..22f39ba 100644 --- a/src/gui/views/wallets/content.rs +++ b/src/gui/views/wallets/content.rs @@ -242,7 +242,8 @@ impl WalletsContent { let subtitle_text = self.wallets.selected_name(); TitleType::WithSubTitle(title_text, subtitle_text, false) } else { - TitleType::Single(title_text.to_uppercase(), show_wallet && dual_panel) + let left_title_align = !create_wallet && show_wallet && dual_panel; + TitleType::Single(title_text.to_uppercase(), left_title_align) }; // Draw title panel.