From 76527ef0f8d3d0f721a1ec845e8a430529fb7036 Mon Sep 17 00:00:00 2001 From: Roopesh Chander Date: Wed, 23 Jan 2019 16:21:20 +0530 Subject: [PATCH] macOS: Adapt to TunnelsManagerListDelegate changes Signed-off-by: Roopesh Chander --- WireGuard/WireGuard/UI/macOS/TunnelsTracker.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)