From 035055ef0a8784ae7849bb6ed4a5d380911688fc Mon Sep 17 00:00:00 2001 From: Eric Kuck Date: Sat, 22 Dec 2018 15:32:29 -0600 Subject: SwitchCell nits Signed-off-by: Eric Kuck --- WireGuard/WireGuard/UI/iOS/View/SwitchCell.swift | 1 + 1 file changed, 1 insertion(+) (limited to 'WireGuard/WireGuard/UI/iOS/View/SwitchCell.swift') diff --git a/WireGuard/WireGuard/UI/iOS/View/SwitchCell.swift b/WireGuard/WireGuard/UI/iOS/View/SwitchCell.swift index 68939a7..7794e6b 100644 --- a/WireGuard/WireGuard/UI/iOS/View/SwitchCell.swift +++ b/WireGuard/WireGuard/UI/iOS/View/SwitchCell.swift @@ -41,6 +41,7 @@ class SwitchCell: UITableViewCell { override func prepareForReuse() { super.prepareForReuse() + onSwitchToggled = nil isEnabled = true message = "" isOn = false -- cgit v1.2.3-59-g8ed1b