ctlIME // Move PhraseRep toggling to Prefs.
This commit is contained in:
parent
d5d7303f32
commit
3153ddf42b
|
@ -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?) {
|
||||||
|
|
Loading…
Reference in New Issue