aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/UI/macOS
diff options
context:
space:
mode:
authorRoopesh Chander <roop@roopc.net>2019-01-23 16:21:20 +0530
committerRoopesh Chander <roop@roopc.net>2019-01-23 16:21:20 +0530
commit76527ef0f8d3d0f721a1ec845e8a430529fb7036 (patch)
tree3101978cfe12047276080dddde9d7feed90da32d /WireGuard/WireGuard/UI/macOS
parentiOS: Fix stale tunnel being shown on iPad (diff)
downloadwireguard-apple-76527ef0f8d3d0f721a1ec845e8a430529fb7036.tar.xz
wireguard-apple-76527ef0f8d3d0f721a1ec845e8a430529fb7036.zip
macOS: Adapt to TunnelsManagerListDelegate changes
Signed-off-by: Roopesh Chander <roop@roopc.net>
Diffstat (limited to 'WireGuard/WireGuard/UI/macOS')
-rw-r--r--WireGuard/WireGuard/UI/macOS/TunnelsTracker.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/WireGuard/WireGuard/UI/macOS/TunnelsTracker.swift b/WireGuard/WireGuard/UI/macOS/TunnelsTracker.swift
index 781fa2e..3d29b02 100644
--- a/WireGuard/WireGuard/UI/macOS/TunnelsTracker.swift
+++ b/WireGuard/WireGuard/UI/macOS/TunnelsTracker.swift
@@ -91,7 +91,7 @@ extension TunnelsTracker: TunnelsManagerListDelegate {
manageTunnelsRootVC?.tunnelsListVC?.tunnelMoved(from: oldIndex, to: newIndex)
}
- func tunnelRemoved(at index: Int) {
+ func tunnelRemoved(at index: Int, tunnel: TunnelContainer) {
tunnelStatusObservers.remove(at: index)
statusMenu?.removeTunnelMenuItem(at: index)