bt-service: fix logic to not invoke bluetoothctl when not installed

This commit is contained in:
Lemmy
2026-02-28 18:00:30 -05:00
parent 864a0e8263
commit 0b905ff661
+1 -1
View File
@@ -212,7 +212,7 @@ Singleton {
}
function pollCtlState() {
if (!adapter && !ProgramCheckerService.bluetoothctlAvailable) {
if (!adapter || !ProgramCheckerService.bluetoothctlAvailable) {
return;
}
if (ctlShowProcess.running) {