From 1fd0c56f08e5b3a193005e50a226384f9321dbb1 Mon Sep 17 00:00:00 2001 From: Roopesh Chander Date: Tue, 11 Dec 2018 03:24:28 +0530 Subject: Remove the feature of waiting for another tunnel to deactivate Signed-off-by: Roopesh Chander --- WireGuard/WireGuard/UI/iOS/TunnelsListTableViewController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'WireGuard/WireGuard/UI/iOS/TunnelsListTableViewController.swift') diff --git a/WireGuard/WireGuard/UI/iOS/TunnelsListTableViewController.swift b/WireGuard/WireGuard/UI/iOS/TunnelsListTableViewController.swift index 7c76aa6..b1102c4 100644 --- a/WireGuard/WireGuard/UI/iOS/TunnelsListTableViewController.swift +++ b/WireGuard/WireGuard/UI/iOS/TunnelsListTableViewController.swift @@ -390,7 +390,7 @@ class TunnelsListTableViewCell: UITableViewCell { DispatchQueue.main.async { [weak statusSwitch, weak busyIndicator] in guard let statusSwitch = statusSwitch, let busyIndicator = busyIndicator else { return } statusSwitch.isOn = !(status == .deactivating || status == .inactive) - statusSwitch.isUserInteractionEnabled = (status == .inactive || status == .active || status == .waiting) + statusSwitch.isUserInteractionEnabled = (status == .inactive || status == .active) if (status == .inactive || status == .active) { busyIndicator.stopAnimating() } else { -- cgit v1.2.3-59-g8ed1b