aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/UI/iOS/View/TunnelListCell.swift
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-12-22 05:30:35 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2018-12-22 05:30:35 +0100
commitd36e7e27ffab1c0d22967185d64442226689906e (patch)
tree8f34a525b6baea40c9fe35f2606bda938e4839ea /WireGuard/WireGuard/UI/iOS/View/TunnelListCell.swift
parentDo not crash if we can't get socket.fileDescriptor (diff)
downloadwireguard-apple-d36e7e27ffab1c0d22967185d64442226689906e.tar.xz
wireguard-apple-d36e7e27ffab1c0d22967185d64442226689906e.zip
Clean up trailing whitespace
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'WireGuard/WireGuard/UI/iOS/View/TunnelListCell.swift')
-rw-r--r--WireGuard/WireGuard/UI/iOS/View/TunnelListCell.swift2
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 7ab3965..294964a 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)
}