]> git.ipfire.org Git - thirdparty/wireguard-apple.git/commit
iOS: SwitchCell should hold the observation token
authorRoopesh Chander <roop@roopc.net>
Sun, 3 Feb 2019 07:07:57 +0000 (12:37 +0530)
committerRoopesh Chander <roop@roopc.net>
Sun, 3 Feb 2019 07:10:19 +0000 (12:40 +0530)
commit618d89941a68892ad8b1f6a611d7b813452253b0
tree1ccd872308f0e86273f034251979b8f1a2193340
parentcbc602245e567c9635a60747b6eddf3713102829
iOS: SwitchCell should hold the observation token

And should nil the token when preparing for reuse.

This also reverts "iOS: Tunnel detail: Refactor updation of status"

Signed-off-by: Roopesh Chander <roop@roopc.net>
WireGuard/WireGuard/UI/iOS/View/SwitchCell.swift
WireGuard/WireGuard/UI/iOS/ViewController/TunnelDetailTableViewController.swift