WireGuardApp: Replace AnyObject with a concrete NSKeyValueObservation

Signed-off-by: Andrej Mihajlov <and@mullvad.net>
This commit is contained in:
Andrej Mihajlov 2020-12-15 14:21:39 +01:00 committed by Jason A. Donenfeld
parent 9a483a46fa
commit a786f5df60
1 changed files with 2 additions and 2 deletions

View File

@ -41,8 +41,8 @@ class TunnelListCell: UITableViewCell {
let statusSwitch = UISwitch()
private var statusObservationToken: AnyObject?
private var nameObservationToken: AnyObject?
private var statusObservationToken: NSKeyValueObservation?
private var nameObservationToken: NSKeyValueObservation?
override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {
super.init(style: style, reuseIdentifier: reuseIdentifier)