ui: fix title align for wallet creation
This commit is contained in:
parent
9d12e95d0b
commit
152798629e
1 changed files with 2 additions and 1 deletions
|
@ -242,7 +242,8 @@ impl WalletsContent {
|
||||||
let subtitle_text = self.wallets.selected_name();
|
let subtitle_text = self.wallets.selected_name();
|
||||||
TitleType::WithSubTitle(title_text, subtitle_text, false)
|
TitleType::WithSubTitle(title_text, subtitle_text, false)
|
||||||
} else {
|
} 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.
|
// Draw title panel.
|
||||||
|
|
Loading…
Reference in a new issue