diff --git a/Modules/Notifications/Sidebar/Utils/Cards/Toggles.qml b/Modules/Notifications/Sidebar/Utils/Cards/Toggles.qml index 89d0bb4..f4aff43 100644 --- a/Modules/Notifications/Sidebar/Utils/Cards/Toggles.qml +++ b/Modules/Notifications/Sidebar/Utils/Cards/Toggles.qml @@ -33,7 +33,7 @@ CustomRect { Toggle { checked: Network.wifiEnabled icon: Network.wifiEnabled ? "wifi" : "wifi_off" - visible: QSNetwork.Networking.devices.values.some(n => n.type.toString() === "Wifi") + visible: QSNetwork.Networking.devices.values.some(n => toString(n.type) === "Wifi") onClicked: Network.toggleWifi() }