update BluetoothService.qml

This commit is contained in:
notiant
2025-10-31 16:11:50 +01:00
committed by GitHub
parent 38a7c606c8
commit cf7ae75738
+1
View File
@@ -13,6 +13,7 @@ Singleton {
property bool airplaneModeToggled: false
property bool lastBluetoothBlocked: false
readonly property BluetoothAdapter adapter: Bluetooth.defaultAdapter
readonly property int state: adapter?.state
readonly property bool available: (adapter !== null)
readonly property bool enabled: adapter?.enabled ?? false
readonly property bool blocked: (adapter?.state === BluetoothAdapterState.Blocked)