New theme + Network.qml has it's more theme variables now
This commit is contained in:
@@ -69,8 +69,8 @@ ModuleChip {
|
||||
readonly property string displayIcon: hasWifi ? wifiIcon : ""
|
||||
|
||||
readonly property color iconColor: {
|
||||
if (hasWifi) return wifiUp ? t.statusOk : t.statusErr
|
||||
if (hasWired) return wiredUp ? t.statusOk : t.statusErr
|
||||
if (hasWifi) return wifiUp ? t.netWifiIconOk : t.netWifiIconErr
|
||||
if (hasWired) return wiredUp ? t.netEthIconOk : t.netEthIconErr
|
||||
return t.textDim
|
||||
}
|
||||
|
||||
@@ -461,7 +461,7 @@ ModuleChip {
|
||||
|
||||
Text {
|
||||
text: root.wiredUp ? "\uf0601" : "\uf0602"
|
||||
color: root.wiredUp ? root.t.statusOk : root.t.statusErr
|
||||
color: root.wiredUp ? root.t.netEthIconOk : root.t.netEthIconErr
|
||||
font.pixelSize: 18
|
||||
Layout.alignment: Qt.AlignVCenter
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user