ctlIME // Move PhraseRep toggling to Prefs.

This commit is contained in:
ShikiSuen 2022-03-07 21:36:22 +08:00
parent d5d7303f32
commit 3153ddf42b
1 changed files with 1 additions and 1 deletions

View File

@ -281,7 +281,7 @@ class ctlInputMethod: IMKInputController {
} }
@objc func togglePhraseReplacement(_ sender: Any?) { @objc func togglePhraseReplacement(_ sender: Any?) {
mgrLangModel.setPhraseReplacementEnabled(Preferences.togglePhraseReplacementEnabled()) NotifierController.notify(message: String(format: "%@%@%@", NSLocalizedString("Use Phrase Replacement", comment: ""), "\n", Preferences.togglePhraseReplacementEnabled() ? NSLocalizedString("NotificationSwitchON", comment: "") : NSLocalizedString("NotificationSwitchOFF", comment: "")))
} }
@objc func selfTerminate(_ sender: Any?) { @objc func selfTerminate(_ sender: Any?) {