From 364fcd4dbe6562e49342a789d17636c0dc4dae91 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Thu, 7 Feb 2019 18:19:15 +0100 Subject: [PATCH] StatusItemController: Show animation when deactivating --- WireGuard/WireGuard/UI/macOS/StatusItemController.swift | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 } }