mgrPref // Cleanup, sacrificing advanced keyLayout feature.

This commit is contained in:
ShikiSuen 2022-03-28 12:55:45 +08:00
parent 9bc0f485e8
commit c3f4a0dac6
1 changed files with 0 additions and 10 deletions

View File

@ -23,8 +23,6 @@ private let kIsDebugModeEnabled = "_DebugMode"
private let kCheckUpdateAutomatically = "CheckUpdateAutomatically" private let kCheckUpdateAutomatically = "CheckUpdateAutomatically"
private let kKeyboardLayoutPreference = "KeyboardLayout" private let kKeyboardLayoutPreference = "KeyboardLayout"
private let kBasisKeyboardLayoutPreference = "BasisKeyboardLayout" private let kBasisKeyboardLayoutPreference = "BasisKeyboardLayout"
private let kFunctionKeyKeyboardLayoutPreference = "FunctionKeyKeyboardLayout"
private let kFunctionKeyKeyboardLayoutOverrideIncludeShift = "FunctionKeyKeyboardLayoutOverrideIncludeShift"
private let kShowPageButtonsInCandidateWindow = "ShowPageButtonsInCandidateWindow" private let kShowPageButtonsInCandidateWindow = "ShowPageButtonsInCandidateWindow"
private let kCandidateListTextSize = "CandidateListTextSize" private let kCandidateListTextSize = "CandidateListTextSize"
private let kAppleLanguagesPreferences = "AppleLanguages" private let kAppleLanguagesPreferences = "AppleLanguages"
@ -217,8 +215,6 @@ struct ComposingBufferSize {
[kIsDebugModeEnabled, [kIsDebugModeEnabled,
kKeyboardLayoutPreference, kKeyboardLayoutPreference,
kBasisKeyboardLayoutPreference, kBasisKeyboardLayoutPreference,
kFunctionKeyKeyboardLayoutPreference,
kFunctionKeyKeyboardLayoutOverrideIncludeShift,
kShowPageButtonsInCandidateWindow, kShowPageButtonsInCandidateWindow,
kCandidateListTextSize, kCandidateListTextSize,
kAppleLanguagesPreferences, kAppleLanguagesPreferences,
@ -365,12 +361,6 @@ struct ComposingBufferSize {
@UserDefault(key: kBasisKeyboardLayoutPreference, defaultValue: "com.apple.keylayout.ZhuyinBopomofo") @UserDefault(key: kBasisKeyboardLayoutPreference, defaultValue: "com.apple.keylayout.ZhuyinBopomofo")
@objc static var basisKeyboardLayout: String @objc static var basisKeyboardLayout: String
@UserDefault(key: kFunctionKeyKeyboardLayoutPreference, defaultValue: "com.apple.keylayout.ABC")
@objc static var functionKeyboardLayout: String
@UserDefault(key: kFunctionKeyKeyboardLayoutOverrideIncludeShift, defaultValue: false)
@objc static var functionKeyKeyboardLayoutOverrideIncludeShiftKey: Bool
@UserDefault(key: kShowPageButtonsInCandidateWindow, defaultValue: true) @UserDefault(key: kShowPageButtonsInCandidateWindow, defaultValue: true)
@objc static var showPageButtonsInCandidateWindow: Bool @objc static var showPageButtonsInCandidateWindow: Bool