summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/bluetooth/Bluetooth.qml4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/bluetooth/Bluetooth.qml b/app/bluetooth/Bluetooth.qml
index 8eb7cd6..32577bf 100644
--- a/app/bluetooth/Bluetooth.qml
+++ b/app/bluetooth/Bluetooth.qml
@@ -101,9 +101,7 @@ SettingPage {
}
}
- onPowerChanged: {
- root.checked = state
- }
+ Component.onCompleted: root.checked = bluetooth.power
}
Text {