mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-28 23:42:51 -05:00
vpn: remove redundant property definitions
This commit is contained in:
@@ -11,10 +11,7 @@ BasePill {
|
|||||||
service: DMSNetworkService
|
service: DMSNetworkService
|
||||||
}
|
}
|
||||||
|
|
||||||
property var popoutTarget: null
|
|
||||||
property var barConfig: null
|
|
||||||
property bool isHovered: clickArea.containsMouse
|
property bool isHovered: clickArea.containsMouse
|
||||||
property real barSpacing: 4
|
|
||||||
property bool isAutoHideBar: false
|
property bool isAutoHideBar: false
|
||||||
|
|
||||||
readonly property real minTooltipY: {
|
readonly property real minTooltipY: {
|
||||||
@@ -45,7 +42,7 @@ BasePill {
|
|||||||
|
|
||||||
name: DMSNetworkService.connected ? "vpn_lock" : "vpn_key_off"
|
name: DMSNetworkService.connected ? "vpn_lock" : "vpn_key_off"
|
||||||
size: Theme.barIconSize(root.barThickness, -4)
|
size: Theme.barIconSize(root.barThickness, -4)
|
||||||
color: DMSNetworkService.connected ? Theme.primary : Theme.surfaceText
|
color: DMSNetworkService.connected ? Theme.primary : Theme.widgetIconColor
|
||||||
opacity: DMSNetworkService.isBusy ? 0.5 : 1.0
|
opacity: DMSNetworkService.isBusy ? 0.5 : 1.0
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user