1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-08-02 03:28:28 -04:00

network: rescan when network panel is open

This commit is contained in:
bbedward
2026-07-31 09:33:17 -04:00
parent e54be7d12d
commit fe64a342f9
2 changed files with 13 additions and 2 deletions
@@ -793,6 +793,13 @@ Singleton {
autoRefreshEnabled = false;
}
Timer {
interval: 10000
repeat: true
running: root.autoScan && root.networkAvailable && root.wifiEnabled
onTriggered: root.scanWifi()
}
function fetchWiredNetworkInfo(uuid) {
if (!networkAvailable)
return;