mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-10-30 15:07:49 -04:00
1 parent
7ab0e01573
commit
d379d251b9
1 file changed
+2
-3
@@ -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