WIP: Network #129

Draft
Inorishio wants to merge 32 commits from module/wifi into main
Showing only changes of commit 8dc9753e2b - Show all commits
+6 -2
View File
@@ -12,8 +12,12 @@ Singleton {
readonly property list<Network> knownNetworks: networks.filter(n => n.known)
readonly property list<Network> networks: {
const list = [];
for (const d of wifiDevices)
list.push(...d.networks.values);
for (const d of wifiDevices) {
for (const n of d.networks.values) {
if (!list.includes(n))
list.push(n);
}
}
return list;
}
property bool scanning: false