From 8676f3a6632b2027d7bb541172341927c04a11e9 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Thu, 7 Feb 2019 18:19:15 +0100 Subject: StatusItemController: Show animation when deactivating Signed-off-by: Jason A. Donenfeld --- WireGuard/WireGuard/UI/macOS/StatusItemController.swift | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'WireGuard/WireGuard') diff --git a/WireGuard/WireGuard/UI/macOS/StatusItemController.swift b/WireGuard/WireGuard/UI/macOS/StatusItemController.swift index e401925..ef0ccd0 100644 --- a/WireGuard/WireGuard/UI/macOS/StatusItemController.swift +++ b/WireGuard/WireGuard/UI/macOS/StatusItemController.swift @@ -39,10 +39,8 @@ class StatusItemController { case .active: stopActivatingAnimation() statusItem.button?.image = statusBarImageWhenActive - case .activating, .waiting, .reasserting, .restarting: + case .activating, .waiting, .reasserting, .restarting, .deactivating: startActivatingAnimation() - case .deactivating: - break } } -- cgit v1.2.3-59-g8ed1b