fix wifi disconnected icon

This commit is contained in:
2026-06-06 23:37:44 +02:00
parent 7a95288f81
commit 796be77341
2 changed files with 8 additions and 5 deletions

View File

@@ -20,10 +20,11 @@ Item {
spacing: Theme.spacing
Text {
text: SysStats.iface.startsWith("wl") ? Icons.wifi : Icons.ethernet
text: SysStats.iface === "" ? Icons.netOff
: SysStats.iface.startsWith("wl") ? Icons.wifi : Icons.ethernet
font.family: Theme.monoFont
font.pixelSize: Theme.fontSize + 1
color: Theme.sky
color: SysStats.iface === "" ? Theme.overlay : Theme.sky
Layout.alignment: Qt.AlignVCenter
}
@@ -127,10 +128,11 @@ Item {
spacing: Theme.spacing
Text {
text: SysStats.iface.startsWith("wl") ? Icons.wifi : Icons.ethernet
text: SysStats.iface === "" ? Icons.netOff
: SysStats.iface.startsWith("wl") ? Icons.wifi : Icons.ethernet
font.family: Theme.monoFont
font.pixelSize: Theme.fontSize + 1
color: Theme.sky
color: SysStats.iface === "" ? Theme.overlay : Theme.sky
}
Text {
text: "Network by process"