mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
bt-service: fix logic to not invoke bluetoothctl when not installed
This commit is contained in:
@@ -212,7 +212,7 @@ Singleton {
|
||||
}
|
||||
|
||||
function pollCtlState() {
|
||||
if (!adapter && !ProgramCheckerService.bluetoothctlAvailable) {
|
||||
if (!adapter || !ProgramCheckerService.bluetoothctlAvailable) {
|
||||
return;
|
||||
}
|
||||
if (ctlShowProcess.running) {
|
||||
|
||||
Reference in New Issue
Block a user