summaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
Diffstat (limited to 'gui')
-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