summaryrefslogtreecommitdiff
path: root/gui/qml/main.qml
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2021-07-07 20:57:29 +0200
committerkali kaneko (leap communications) <kali@leap.se>2021-07-07 20:57:29 +0200
commitdf9d9f990ae97904f01af3b710042713d31da7f6 (patch)
tree6f38cce9f38a088b99cdaaf7d69de0ef2db4c54d /gui/qml/main.qml
parent39eb4a176ef2fe52247db4ca551fc0f945ffa2ae (diff)
[ux] customize background for calyxvpn
Diffstat (limited to 'gui/qml/main.qml')
-rw-r--r--gui/qml/main.qml8
1 files changed, 8 insertions, 0 deletions
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()