1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-06-24 03:55:23 -04:00

fix(network): show WiFi connection progress (#2684)

This commit is contained in:
NihilDigit
2026-06-23 21:19:37 +08:00
committed by GitHub
parent bed6622530
commit a98c4f6c54
3 changed files with 59 additions and 13 deletions
@@ -467,6 +467,8 @@ Singleton {
return;
pendingConnectionSSID = ssid;
pendingConnectionStartTime = Date.now();
isConnecting = true;
connectingSSID = ssid;
connectionError = "";
connectionStatus = "connecting";
credentialsRequested = false;
@@ -510,6 +512,8 @@ Singleton {
connectionError = response.error;
lastConnectionError = response.error;
pendingConnectionSSID = "";
isConnecting = false;
connectingSSID = "";
connectionStatus = "failed";
ToastService.showError(I18n.tr("Failed to start connection to %1").arg(ssid));
}