aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/UI/macOS
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-02-07 18:19:15 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2019-02-07 18:19:15 +0100
commit8676f3a6632b2027d7bb541172341927c04a11e9 (patch)
tree61fa692159a39a992f89e5b62dfeb3aeb06ad32c /WireGuard/WireGuard/UI/macOS
parentPacketTunnelProvider: proper fix for 32073323 (diff)
downloadwireguard-apple-8676f3a6632b2027d7bb541172341927c04a11e9.tar.xz
wireguard-apple-8676f3a6632b2027d7bb541172341927c04a11e9.zip
StatusItemController: Show animation when deactivating
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
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
}
}