aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/UI/macOS/StatusItemController.swift
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--WireGuard/WireGuard/UI/macOS/StatusItemController.swift4
1 files changed, 1 insertions, 3 deletions
diff --git a/WireGuard/WireGuard/UI/macOS/StatusItemController.swift b/WireGuard/WireGuard/UI/macOS/StatusItemController.swift
index e401925d..ef0ccd02 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
}
}