aboutsummaryrefslogtreecommitdiffstats
path: root/Sources/WireGuardApp/UI/iOS/View/TunnelListCell.swift
diff options
context:
space:
mode:
Diffstat (limited to 'Sources/WireGuardApp/UI/iOS/View/TunnelListCell.swift')
-rw-r--r--Sources/WireGuardApp/UI/iOS/View/TunnelListCell.swift4
1 files changed, 0 insertions, 4 deletions
diff --git a/Sources/WireGuardApp/UI/iOS/View/TunnelListCell.swift b/Sources/WireGuardApp/UI/iOS/View/TunnelListCell.swift
index dcca9ec..4dbe97c 100644
--- a/Sources/WireGuardApp/UI/iOS/View/TunnelListCell.swift
+++ b/Sources/WireGuardApp/UI/iOS/View/TunnelListCell.swift
@@ -159,10 +159,6 @@ class TunnelListCell: UITableViewCell {
statusSwitch.isUserInteractionEnabled = (status == .inactive || status == .active)
}
- if tunnel.tunnelConfiguration == nil {
- statusSwitch.isUserInteractionEnabled = false
- backgroundColor = .systemPink
- }
}
private func reset(animated: Bool) {