forked from Shinonome/dots-hyprland
wicons: wifi: also check for connected status
This commit is contained in:
@@ -24,9 +24,9 @@ Singleton {
|
|||||||
property string internetIcon: {
|
property string internetIcon: {
|
||||||
if (Network.ethernet)
|
if (Network.ethernet)
|
||||||
return "ethernet";
|
return "ethernet";
|
||||||
if (Network.wifiEnabled) {
|
if (Network.wifiEnabled && Network.wifiStatus === "connected") {
|
||||||
const strength = Network.networkStrength;
|
const strength = Network.networkStrength;
|
||||||
return wifiIconForStrength(strength);
|
return root.wifiIconForStrength(strength);
|
||||||
}
|
}
|
||||||
if (Network.wifiStatus === "connecting")
|
if (Network.wifiStatus === "connecting")
|
||||||
return "wifi-4";
|
return "wifi-4";
|
||||||
|
|||||||
Reference in New Issue
Block a user