ui: change wallet creation panel background and button colors
This commit is contained in:
parent
ab83d7c95c
commit
7ef558a6f1
2 changed files with 6 additions and 2 deletions
|
@ -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()
|
||||||
})
|
})
|
||||||
|
|
|
@ -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);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue