From 80e578600ce52bbe4c72df0dfa50d176d51cf2ab Mon Sep 17 00:00:00 2001 From: ShikiSuen Date: Fri, 7 Oct 2022 10:14:16 +0800 Subject: [PATCH] PrefMgr // Add LINE to IMKTextInputIncapable list. --- Source/Modules/PrefMgr_Core.swift | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Source/Modules/PrefMgr_Core.swift b/Source/Modules/PrefMgr_Core.swift index 5f258811..adbf6ac4 100644 --- a/Source/Modules/PrefMgr_Core.swift +++ b/Source/Modules/PrefMgr_Core.swift @@ -16,6 +16,9 @@ public class PrefMgr: PrefMgrProtocol { public static let kDefaultCandidateKeys = "123456789" public static let kDefaultBasicKeyboardLayout = "com.apple.keylayout.ZhuyinBopomofo" public static let kDefaultAlphanumericalKeyboardLayout = "com.apple.keylayout.ABC" + public static let kDefaultClientsIMKTextInputIncapable: [String] = [ + "com.valvesoftware.steam", "jp.naver.line.mac", + ] // MARK: - Settings (Tier 1) @@ -124,7 +127,7 @@ public class PrefMgr: PrefMgrProtocol { @AppProperty(key: UserDef.kAlwaysShowTooltipTextsHorizontally.rawValue, defaultValue: false) public var alwaysShowTooltipTextsHorizontally: Bool - @AppProperty(key: UserDef.kClientsIMKTextInputIncapable.rawValue, defaultValue: ["com.valvesoftware.steam"]) + @AppProperty(key: UserDef.kClientsIMKTextInputIncapable.rawValue, defaultValue: kDefaultClientsIMKTextInputIncapable) public var clientsIMKTextInputIncapable: [String] @AppProperty(key: UserDef.kOnlyLoadFactoryLangModelsIfNeeded.rawValue, defaultValue: true)