From 387a7168c20427798f658cad2b10763dd20ade93 Mon Sep 17 00:00:00 2001 From: ShikiSuen Date: Wed, 4 May 2022 18:11:30 +0800 Subject: [PATCH] ctlME // Swift-Format. --- Source/Modules/IMEModules/ctlInputMethod.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Modules/IMEModules/ctlInputMethod.swift b/Source/Modules/IMEModules/ctlInputMethod.swift index a8159451..6edbbb5b 100644 --- a/Source/Modules/IMEModules/ctlInputMethod.swift +++ b/Source/Modules/IMEModules/ctlInputMethod.swift @@ -112,7 +112,7 @@ class ctlInputMethod: IMKInputController { } override func setValue(_ value: Any!, forTag _: Int, client: Any!) { - var newInputMode: InputMode = InputMode(rawValue: value as? String ?? "") ?? InputMode.imeModeNULL + var newInputMode = InputMode(rawValue: value as? String ?? "") ?? InputMode.imeModeNULL switch newInputMode { case InputMode.imeModeCHS: newInputMode = InputMode.imeModeCHS