summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2022-02-02 12:31:54 +0100
committerkali kaneko (leap communications) <kali@leap.se>2022-02-02 12:38:16 +0100
commit60b23efe8e571d8d80cf77ef9e64cd4fee27c864 (patch)
treee95354049150962e012b8fe740cca37522e08fef
parentfca2ee8d7aeee99e3e24a8cab90c17d7b7c34494 (diff)
[ui] disable snowflake progress
-rw-r--r--gui/components/StatusBox.qml2
-rw-r--r--gui/components/VPNState.qml2
2 files changed, 2 insertions, 2 deletions
diff --git a/gui/components/StatusBox.qml b/gui/components/StatusBox.qml
index 5929033..6eaf2d4 100644
--- a/gui/components/StatusBox.qml
+++ b/gui/components/StatusBox.qml
@@ -181,6 +181,6 @@ Item {
}
function isSnowflakeOn() {
- return ctx != undefined && ctx.snowflakeProgress != "" && ctx.snowflakeProgress != "100"
+ return ctx != undefined && ctx.snowflake == "true" && ctx.snowflakeProgress != "100"
}
}
diff --git a/gui/components/VPNState.qml b/gui/components/VPNState.qml
index 3a8d49a..3e9e7dd 100644
--- a/gui/components/VPNState.qml
+++ b/gui/components/VPNState.qml
@@ -20,7 +20,7 @@ StateGroup {
name: initializing
},
State {
- when: ctx != undefined && ctx.snowflakeProgress != "" && ctx.snowflakeProgress != "100"
+ when: ctx != undefined && ctx.snowflakeProgress != "0" && ctx.snowflakeProgress != "100"
// TODO animate image
PropertyChanges {
target: connectionState