mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-08-01 19:18:28 -04:00
committed by
GitHub
parent
7ab0e01573
commit
d379d251b9
@@ -257,8 +257,7 @@ Singleton {
|
||||
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