mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
Update BluetoothService.qml
This commit is contained in:
@@ -105,7 +105,9 @@ Singleton {
|
||||
|
||||
var name = (device.name || device.deviceName || "").toLowerCase();
|
||||
var icon = (device.icon || "").toLowerCase();
|
||||
|
||||
if (icon.includes("controller") || icon.includes("gamepad") || name.includes("controller") || name.includes("gamepad")) {
|
||||
return "bt-device-gamepad";
|
||||
}
|
||||
if (icon.includes("microphone") || name.includes("microphone")) {
|
||||
return "bt-device-microphone";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user