From df9d9f990ae97904f01af3b710042713d31da7f6 Mon Sep 17 00:00:00 2001 From: "kali kaneko (leap communications)" Date: Wed, 7 Jul 2021 20:57:29 +0200 Subject: [ux] customize background for calyxvpn --- gui/qml/main.qml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gui/qml/main.qml') diff --git a/gui/qml/main.qml b/gui/qml/main.qml index e12c61d..b30fa0a 100644 --- a/gui/qml/main.qml +++ b/gui/qml/main.qml @@ -276,6 +276,14 @@ ApplicationWindow { allowEmptyPass = Logic.shouldAllowEmptyPass(providers) needsRestart = false; shownDonate = false; + + /* 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"; + } + if (!systrayAvailable) { app.visible = true app.raise() -- cgit v1.2.3