From c2f45c2060a2f0fa82085a8e3634688ecc48b818 Mon Sep 17 00:00:00 2001 From: Lukhnos Liu Date: Sun, 13 Feb 2022 19:22:45 -0800 Subject: [PATCH] Make the half-width punctuations toggle work again --- Source/InputMethodController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/InputMethodController.swift b/Source/InputMethodController.swift index 92802256..0e9b6f61 100644 --- a/Source/InputMethodController.swift +++ b/Source/InputMethodController.swift @@ -204,7 +204,7 @@ class McBopomofoInputMethodController: IMKInputController { } @objc func toggleHalfWidthPunctuation(_ sender: Any?) { - let enabled = Preferences.togglePhraseReplacementEnabled() + let enabled = Preferences.toggleHalfWidthPunctuationEnabled() NotifierController.notify(message: enabled ? NSLocalizedString("Half-Width Punctuation On", comment: "") : NSLocalizedString("Half-Width Punctuation Off", comment: "")) }