summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2022-03-22 13:14:55 +0100
committerAndrej Mihajlov <and@mullvad.net>2022-03-24 14:02:45 +0100
commita76b257a78cbcab84333bb6a472130f8872ec679 (patch)
tree6638d39f9b1d6462adfb16af0afb4aae9ab39fe1
parent7c2fc42e03a7936a307f57d313a06abd63cb22b3 (diff)
downloadmullvadvpn-a76b257a78cbcab84333bb6a472130f8872ec679.tar.xz
mullvadvpn-a76b257a78cbcab84333bb6a472130f8872ec679.zip
Show cancel button in connecting state on iPad (regular)
-rw-r--r--ios/MullvadVPN/ConnectViewController.swift4
1 files changed, 2 insertions, 2 deletions
diff --git a/ios/MullvadVPN/ConnectViewController.swift b/ios/MullvadVPN/ConnectViewController.swift
index 59978ec4ad..b9d5950c15 100644
--- a/ios/MullvadVPN/ConnectViewController.swift
+++ b/ios/MullvadVPN/ConnectViewController.swift
@@ -600,10 +600,10 @@ private extension TunnelState {
case .disconnected, .disconnecting(.nothing):
return [.connect]
- case .disconnecting(.reconnect), .pendingReconnect:
+ case .connecting, .pendingReconnect, .disconnecting(.reconnect):
return [.cancel]
- case .connecting, .connected, .reconnecting:
+ case .connected, .reconnecting:
return [.disconnect]
}