mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-08-02 03:28:28 -04:00
(cherry picked from commit d379d251b9)
This commit is contained in:
committed by
bbedward
parent
35e35a16fa
commit
0d550662de
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user