This commit is contained in:
Ly-sec
2025-09-11 04:01:02 +02:00
2 changed files with 11 additions and 1 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ NPanel {
}
Rectangle {
visible: !Settings.data.network.bluetoothEnabled
visible: !(BluetoothService.adapter && BluetoothService.adapter.enabled)
Layout.fillWidth: true
Layout.fillHeight: true
color: Color.transparent
+10
View File
@@ -32,6 +32,16 @@ Singleton {
function init() {
Logger.log("Bluetooth", "Service initialized")
delaySyncState.running = true
}
Timer {
id: delaySyncState
interval: 1000
repeat: false
onTriggered: {
Settings.data.network.bluetoothEnabled = adapter.enabled
}
}
Timer {