summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/wifi/Wifi.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/wifi/Wifi.qml b/app/wifi/Wifi.qml
index d9ab949..ba9d89e 100644
--- a/app/wifi/Wifi.qml
+++ b/app/wifi/Wifi.qml
@@ -26,11 +26,11 @@ SettingPage {
icon: '/wifi/images/HMI_Settings_WifiIcon.svg'
title: 'Wifi'
checkable: true
- checked: network.wifiEnabled
+ checked: WifiAdapter.wifiEnabled
readonly property bool isWifi: true
onCheckedChanged: {
- network.power(checked)
+ network.power(checked,"wifi")
}
Component {