ui: change wallet creation panel background and button colors

This commit is contained in:
ardocrat 2023-08-09 22:14:01 +03:00
parent ab83d7c95c
commit 7ef558a6f1
2 changed files with 6 additions and 2 deletions

View file

@ -129,7 +129,11 @@ impl WalletsContent {
|| (dual_panel && show_wallet && !self.show_wallets_at_dual_panel) { || (dual_panel && show_wallet && !self.show_wallets_at_dual_panel) {
Colors::FILL_DARK Colors::FILL_DARK
} else { } else {
if create_wallet {
Colors::WHITE Colors::WHITE
} else {
Colors::BUTTON
}
}, },
..Default::default() ..Default::default()
}) })

View file

@ -215,7 +215,7 @@ impl WalletCreation {
); );
ui.add_space(8.0); ui.add_space(8.0);
let add_text = format!("{} {}", FOLDER_PLUS, t!("wallets.add")); let add_text = format!("{} {}", FOLDER_PLUS, t!("wallets.add"));
View::button(ui, add_text, Colors::BUTTON, || { View::button(ui, add_text, Colors::WHITE, || {
self.show_name_pass_modal(cb); self.show_name_pass_modal(cb);
}); });
}); });