From 7ef558a6f1fb48f4f803fc993f407cce4372152c Mon Sep 17 00:00:00 2001 From: ardocrat Date: Wed, 9 Aug 2023 22:14:01 +0300 Subject: [PATCH] ui: change wallet creation panel background and button colors --- src/gui/views/wallets/content.rs | 6 +++++- src/gui/views/wallets/creation/creation.rs | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/gui/views/wallets/content.rs b/src/gui/views/wallets/content.rs index 3c09e66..0f5215c 100644 --- a/src/gui/views/wallets/content.rs +++ b/src/gui/views/wallets/content.rs @@ -129,7 +129,11 @@ impl WalletsContent { || (dual_panel && show_wallet && !self.show_wallets_at_dual_panel) { Colors::FILL_DARK } else { - Colors::WHITE + if create_wallet { + Colors::WHITE + } else { + Colors::BUTTON + } }, ..Default::default() }) diff --git a/src/gui/views/wallets/creation/creation.rs b/src/gui/views/wallets/creation/creation.rs index 78900c8..3ebed64 100644 --- a/src/gui/views/wallets/creation/creation.rs +++ b/src/gui/views/wallets/creation/creation.rs @@ -215,7 +215,7 @@ impl WalletCreation { ); ui.add_space(8.0); 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); }); });