Fixed bluetooth menu sorting... connected devices now properly show up top.

This commit is contained in:
Jas Singh
2024-06-30 16:59:53 -07:00
parent 6b98da2145
commit 48c87a7111
3 changed files with 1 additions and 7 deletions

View File

@@ -29,7 +29,7 @@ const devices = (bluetooth, self) => {
}
if (b.connected || b.paired) {
return -1;
return 1;
}
return b.name - a.name;