diff options
author | Roopesh Chander <roop@roopc.net> | 2018-10-29 02:26:40 +0530 |
---|---|---|
committer | Roopesh Chander <roop@roopc.net> | 2018-10-29 02:27:14 +0530 |
commit | 7f77d87e275e0326ee061d4a9b06de414fb31acc (patch) | |
tree | 10caea9208c6864e40b1adfc5dd6c0ed833f0ba5 /WireGuard/WireGuard/UI/iOS/TunnelEditTableViewController.swift | |
parent | Tunnel edit: Set correct title when editing (diff) | |
download | wireguard-apple-7f77d87e275e0326ee061d4a9b06de414fb31acc.tar.xz wireguard-apple-7f77d87e275e0326ee061d4a9b06de414fb31acc.zip |
Fix: Make sure all prepareForReuse() implementations call super
Signed-off-by: Roopesh Chander <roop@roopc.net>
Diffstat (limited to 'WireGuard/WireGuard/UI/iOS/TunnelEditTableViewController.swift')
-rw-r--r-- | WireGuard/WireGuard/UI/iOS/TunnelEditTableViewController.swift | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/WireGuard/WireGuard/UI/iOS/TunnelEditTableViewController.swift b/WireGuard/WireGuard/UI/iOS/TunnelEditTableViewController.swift index 71ca005..a1f298b 100644 --- a/WireGuard/WireGuard/UI/iOS/TunnelEditTableViewController.swift +++ b/WireGuard/WireGuard/UI/iOS/TunnelEditTableViewController.swift @@ -453,6 +453,7 @@ class TunnelEditTableViewButtonCell: UITableViewCell { } override func prepareForReuse() { + super.prepareForReuse() buttonText = "" onTapped = nil } @@ -482,6 +483,7 @@ class TunnelEditTableViewSwitchCell: UITableViewCell { } override func prepareForReuse() { + super.prepareForReuse() message = "" isOn = false } |