Fixed bluetooth UI bug mentioned in #2627 (#2850)

(cherry picked from commit d379d251b9)
This commit is contained in:
Arsenijs Kitajevs authored and bbedward committed 2026-07-13 16:18:42 -04:00
1 parent 35e35a16fa
commit 0d550662de
1 file changed
+2 -3
+2 -3
View File
@@ -256,9 +256,8 @@ Singleton {
function getDevicePath(device) {
if (!device || !device.address) {
return "";
}
const adapterPath = adapter ? "/org/bluez/hci0" : "/org/bluez/hci0";
return `${adapterPath}/dev_${device.address.replace(/:/g, "_")}`;
}
return device.dbusPath ?? "";
}
function isAudioDevice(device) {