From c32d07c7bde5e9438dc96d41f6f32a7c9db8763a Mon Sep 17 00:00:00 2001
From: "kali kaneko (leap communications)" <kali@leap.se>
Date: Fri, 9 Jul 2021 20:10:51 +0200
Subject: [PATCH] [ui] further tweaks for calyx

"pick location" menu was a transitional menu item to be able to open
window without altering too much the current UI flow that operates on
the systray, and as an interim until the simply secure proposal was in
place.

for calyx, it makes sense to open the window directly.
---
 gui/qml/main.qml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gui/qml/main.qml b/gui/qml/main.qml
index b30fa0a3..cc5b17eb 100644
--- a/gui/qml/main.qml
+++ b/gui/qml/main.qml
@@ -280,8 +280,10 @@ ApplicationWindow {
         /* this is a temporary workaround until general GUI revamp for 0.21.8 */
         let provider = Logic.getSelectedProvider(providers);
         if (provider == "calyx") {
-            background.backgroundVisible = false;
             background.color = "#8EA844";
+            background.backgroundVisible = false;
+            gwSelector.visible = false;
+            manualSelectionButton.visible = false;
         }
 
         if (!systrayAvailable) {
-- 
GitLab