This commit is contained in:
Mitchell Hashimoto
2024-09-24 16:38:41 -07:00
parent ed7ac8aa21
commit 689ee0f385

View File

@ -49,7 +49,7 @@ class GlobalEventTap {
} }
// Failed, probably due to permissions. The permissions dialog should've // Failed, probably due to permissions. The permissions dialog should've
// popped up. We retry on a timer since once the permisisons are granted // popped up. We retry on a timer since once the permissions are granted
// then they take affect immediately. // then they take affect immediately.
enableTimer = Timer.scheduledTimer(withTimeInterval: 1, repeats: true) { _ in enableTimer = Timer.scheduledTimer(withTimeInterval: 1, repeats: true) { _ in
_ = self.tryEnable() _ = self.tryEnable()