Little fixes towards swift code formats.

This commit is contained in:
ShikiSuen 2022-01-18 23:25:09 +08:00
parent d33b9f8b62
commit 2692e2c941
8 changed files with 22 additions and 22 deletions

View File

@ -220,7 +220,7 @@ struct ComposingBufferSize {
@objc static func toogleHalfWidthPunctuationEnabled() -> Bool {
halfWidthPunctuationEnabled = !halfWidthPunctuationEnabled
return halfWidthPunctuationEnabled;
return halfWidthPunctuationEnabled
}
@UserDefault(key: kEscToCleanInputBufferKey, defaultValue: false)
@ -306,6 +306,6 @@ struct ComposingBufferSize {
@objc static func tooglePhraseReplacementEnabled() -> Bool {
phraseReplacementEnabled = !phraseReplacementEnabled
UserDefaults.standard.set(phraseReplacementEnabled, forKey: kPhraseReplacementEnabledKey)
return phraseReplacementEnabled;
return phraseReplacementEnabled
}
}