ctlIME // Disable alphanumerical notification on activateServer().

This commit is contained in:
ShikiSuen 2022-09-11 12:11:39 +08:00
parent d98b2bbc34
commit fc0bfd0bbc
1 changed files with 1 additions and 12 deletions

View File

@ -118,18 +118,7 @@ class ctlInputMethod: IMKInputController {
keyHandler.clear() // handle State.Empty() keyHandler.clear() // handle State.Empty()
keyHandler.ensureParser() keyHandler.ensureParser()
if isASCIIMode { if isASCIIMode, mgrPrefs.disableShiftTogglingAlphanumericalMode { isASCIIMode = false }
if mgrPrefs.disableShiftTogglingAlphanumericalMode {
isASCIIMode = false
} else {
NotifierController.notify(
message: NSLocalizedString("Alphanumerical Mode", comment: "") + "\n"
+ (isASCIIMode
? NSLocalizedString("NotificationSwitchON", comment: "")
: NSLocalizedString("NotificationSwitchOFF", comment: ""))
)
}
}
/// ///
/// macOS /// macOS