wicons: wifi: also check for connected status

This commit is contained in:
end-4
2026-03-14 22:01:59 +01:00
parent 8ca3ef773a
commit 0818a6ad9c
@@ -24,9 +24,9 @@ Singleton {
property string internetIcon: {
if (Network.ethernet)
return "ethernet";
if (Network.wifiEnabled) {
if (Network.wifiEnabled && Network.wifiStatus === "connected") {
const strength = Network.networkStrength;
return wifiIconForStrength(strength);
return root.wifiIconForStrength(strength);
}
if (Network.wifiStatus === "connecting")
return "wifi-4";