SessionCtl // Hide notifications if dedicated CpLk processing is off.
This commit is contained in:
parent
dca874dc2a
commit
1b73504572
|
@ -86,6 +86,7 @@ public extension SessionCtl {
|
||||||
self?.isASCIIMode.toggle()
|
self?.isASCIIMode.toggle()
|
||||||
}
|
}
|
||||||
guard PrefMgr.shared.showNotificationsWhenTogglingCapsLock else { return }
|
guard PrefMgr.shared.showNotificationsWhenTogglingCapsLock else { return }
|
||||||
|
guard !PrefMgr.shared.bypassNonAppleCapsLockHandling else { return }
|
||||||
let status = NSLocalizedString("NotificationSwitchRevolver", comment: "")
|
let status = NSLocalizedString("NotificationSwitchRevolver", comment: "")
|
||||||
Notifier.notify(
|
Notifier.notify(
|
||||||
message: isCapsLockTurnedOn
|
message: isCapsLockTurnedOn
|
||||||
|
|
Loading…
Reference in New Issue