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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user