fix(mobile): block incompatible server connections (#11974)
This commit is contained in:
1 parent
e6ae764f47
commit
2c16c1d264
20 files changed
+234
-22
No files matched your search
@@ -36,9 +36,11 @@ export function presentSavedCloudEnvironmentConnection(
|
||||
statusText: connectionStatusText(connection),
|
||||
tone: "connecting",
|
||||
};
|
||||
case "unsupported":
|
||||
case "error":
|
||||
return {
|
||||
buttonLabel: "Connection failed",
|
||||
buttonLabel:
|
||||
connection.phase === "unsupported" ? "Client not supported" : "Connection failed",
|
||||
statusText: connectionStatusText(connection),
|
||||
tone: "error",
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user