feat: add on refresh while still connecting

This commit is contained in:
JPratama7 2025-08-03 08:35:53 +07:00
parent 061c9945db
commit fbea11ee9c
No known key found for this signature in database
GPG key ID: CD3EB7D0490C5F4B

View file

@ -198,6 +198,12 @@ Item {
property string password: ""
property string security: ""
running: false
onStarted: {
refreshIndicator.running = true;
}
onExited: (exitCode, exitStatus) => {
refreshIndicator.running = false;
}
command: {
if (password) {
return ["nmcli", "device", "wifi", "connect", ssid, "password", password]