SessionCtl // Hide notifications if dedicated CpLk processing is off.

This commit is contained in:
ShikiSuen 2023-10-28 21:27:37 +08:00
parent dca874dc2a
commit 1b73504572
1 changed files with 1 additions and 0 deletions

View File

@ -86,6 +86,7 @@ public extension SessionCtl {
self?.isASCIIMode.toggle()
}
guard PrefMgr.shared.showNotificationsWhenTogglingCapsLock else { return }
guard !PrefMgr.shared.bypassNonAppleCapsLockHandling else { return }
let status = NSLocalizedString("NotificationSwitchRevolver", comment: "")
Notifier.notify(
message: isCapsLockTurnedOn