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