1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-06 21:45:38 -05:00

Restore Wifi Services UI

This commit is contained in:
purian23
2025-07-29 22:20:06 -04:00
parent 35c6efdcc5
commit d8ab38a0af
2 changed files with 10 additions and 7 deletions

View File

@@ -66,12 +66,18 @@ Item {
// Auto-enable WiFi auto-refresh when network tab is visible
Component.onCompleted: {
NetworkService.addRef();
NetworkService.autoRefreshEnabled = true;
if (NetworkService.wifiEnabled)
NetworkService.scanWifi();
// Start smart monitoring
wifiMonitorTimer.start();
}
Component.onDestruction: {
NetworkService.removeRef();
NetworkService.autoRefreshEnabled = false;
}
// Two-column layout for WiFi and Ethernet (WiFi on left, Ethernet on right)
Row {