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.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/WireGuard/WireGuard/UI/macOS/StatusItemController.swift b/WireGuard/WireGuard/UI/macOS/StatusItemController.swift
index 2568c15..e401925 100644
--- a/WireGuard/WireGuard/UI/macOS/StatusItemController.swift
+++ b/WireGuard/WireGuard/UI/macOS/StatusItemController.swift
@@ -53,7 +53,7 @@ class StatusItemController {
self.statusItem.button?.image = self.animationImages[self.animationImageIndex]
self.animationImageIndex = (self.animationImageIndex + 1) % self.animationImages.count
}
- RunLoop.main.add(timer, forMode: .default)
+ RunLoop.main.add(timer, forMode: .common)
animationTimer = timer
}