1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-08-07 05:58:28 -04:00

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

(cherry picked from commit d379d251b9)
This commit is contained in:
Arsenijs Kitajevs
2026-07-13 21:57:41 +03:00
committed by bbedward
parent 35e35a16fa
commit 0d550662de
+1 -2
View File
@@ -257,8 +257,7 @@ Singleton {
if (!device || !device.address) { if (!device || !device.address) {
return ""; return "";
} }
const adapterPath = adapter ? "/org/bluez/hci0" : "/org/bluez/hci0"; return device.dbusPath ?? "";
return `${adapterPath}/dev_${device.address.replace(/:/g, "_")}`;
} }
function isAudioDevice(device) { function isAudioDevice(device) {