diff options
author | Eric Kuck <eric@bluelinelabs.com> | 2018-12-21 21:59:43 -0600 |
---|---|---|
committer | Eric Kuck <eric@bluelinelabs.com> | 2018-12-21 21:59:43 -0600 |
commit | 9098cd1161be1c6e7175fdf48128faed6a4438f5 (patch) | |
tree | 6be9055a0c05620ee7be3bbd0e875b9a0560a715 /WireGuard/WireGuard/UI/iOS/View | |
parent | Localize remaining strings in network extension (diff) | |
download | wireguard-apple-9098cd1161be1c6e7175fdf48128faed6a4438f5.tar.xz wireguard-apple-9098cd1161be1c6e7175fdf48128faed6a4438f5.zip |
Removing a tunnel from iOS's settings is now immediately reflected in app
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
Diffstat (limited to 'WireGuard/WireGuard/UI/iOS/View')
-rw-r--r-- | WireGuard/WireGuard/UI/iOS/View/TunnelListCell.swift | 2 |
1 files changed, 1 insertions, 1 deletions
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) } |