bluetooth menu coming along

This commit is contained in:
2026-08-07 14:49:49 +01:00
parent 7cceb3a91a
commit 11a8f03215
2 changed files with 58 additions and 3 deletions

View File

@@ -31,6 +31,17 @@ Singleton {
return connectedList;
}
function getDeviceText(device) {
let deviceName = device.deviceName;
let deviceIcon = getIcon(device.icon);
return {
"icon": deviceIcon,
"name": deviceName
};
}
function getDevicesList() {
return root.defaultAdapter.devices.values;
}