1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-26 14:32:52 -05:00

nm: updates for NM agent in DMS API v7

This commit is contained in:
bbedward
2025-10-21 14:27:42 -04:00
parent 50ce5cf257
commit 9b6fb29d46
6 changed files with 319 additions and 67 deletions

View File

@@ -197,17 +197,19 @@ Item {
}
}
LazyLoader {
id: wifiPasswordModalLoader
WifiPasswordModal {
id: wifiPasswordModal
active: false
Component.onCompleted: {
PopoutService.wifiPasswordModal = wifiPasswordModal
}
}
WifiPasswordModal {
id: wifiPasswordModal
Connections {
target: NetworkService
Component.onCompleted: {
PopoutService.wifiPasswordModal = wifiPasswordModal
}
function onCredentialsNeeded(token, ssid, setting, fields, hints, reason) {
wifiPasswordModal.showFromPrompt(token, ssid, setting, fields, hints, reason)
}
}