From 9098cd1161be1c6e7175fdf48128faed6a4438f5 Mon Sep 17 00:00:00 2001 From: Eric Kuck Date: Fri, 21 Dec 2018 21:59:43 -0600 Subject: Removing a tunnel from iOS's settings is now immediately reflected in app Signed-off-by: Eric Kuck --- WireGuard/WireGuard/UI/iOS/View/TunnelListCell.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'WireGuard/WireGuard/UI/iOS/View/TunnelListCell.swift') diff --git a/WireGuard/WireGuard/UI/iOS/View/TunnelListCell.swift b/WireGuard/WireGuard/UI/iOS/View/TunnelListCell.swift index 294964a..7ab3965 100644 --- a/WireGuard/WireGuard/UI/iOS/View/TunnelListCell.swift +++ b/WireGuard/WireGuard/UI/iOS/View/TunnelListCell.swift @@ -72,7 +72,7 @@ class TunnelListCell: UITableViewCell { statusSwitch.addTarget(self, action: #selector(switchToggled), for: .valueChanged) } - + @objc func switchToggled() { onSwitchToggled?(statusSwitch.isOn) } -- cgit v1.2.3-59-g8ed1b