diff options
author | kali kaneko (leap communications) <kali@leap.se> | 2021-09-06 21:08:14 +0200 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2021-11-23 21:51:01 +0100 |
commit | 8543125fa656ddc2c114072adfc27e4e7c461695 (patch) | |
tree | 176f90c03f64c2645932dbaf3d87f2ad22b61489 /gui/components/StatusBox.qml | |
parent | b8e0fe3b5003d22043042110e8036f4383602545 (diff) |
[ui] transient connecting state
Diffstat (limited to 'gui/components/StatusBox.qml')
-rw-r--r-- | gui/components/StatusBox.qml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gui/components/StatusBox.qml b/gui/components/StatusBox.qml index a20b930..a3a5c18 100644 --- a/gui/components/StatusBox.qml +++ b/gui/components/StatusBox.qml @@ -7,6 +7,7 @@ import QtQuick.Templates 2.12 as T import QtQuick.Controls.impl 2.12 import QtQuick.Controls.Material 2.12 import QtQuick.Controls.Material.impl 2.12 + import "../themes/themes.js" as Theme Item { @@ -18,10 +19,15 @@ Item { } Rectangle { + color: Theme.bgColor + anchors.fill: parent + } + + Rectangle { id: statusBoxBackground + color: Theme.fgColor height: 300 radius: 10 - color: Theme.bgColor antialiasing: true anchors { fill: parent @@ -124,6 +130,7 @@ Item { if (vpn.state === "on") { backend.switchOff() } else if (vpn.state === "off") { + vpn.startingUI = true backend.switchOn() } else { console.debug("unknown state") |