PrefMgr // Remove AppleLanguages property value if empty.
This commit is contained in:
parent
0a657d9be8
commit
a5a1861801
|
@ -23,6 +23,9 @@ public extension PrefMgr {
|
||||||
if #unavailable(macOS 12) {
|
if #unavailable(macOS 12) {
|
||||||
showNotificationsWhenTogglingCapsLock = false
|
showNotificationsWhenTogglingCapsLock = false
|
||||||
}
|
}
|
||||||
|
if appleLanguages.isEmpty {
|
||||||
|
UserDefaults.standard.removeObject(forKey: UserDef.kAppleLanguages.rawValue)
|
||||||
|
}
|
||||||
// 自動糾正選字鍵 (利用其 didSet 特性)
|
// 自動糾正選字鍵 (利用其 didSet 特性)
|
||||||
candidateKeys = candidateKeys
|
candidateKeys = candidateKeys
|
||||||
// 客體黑名單資料類型升級。
|
// 客體黑名單資料類型升級。
|
||||||
|
|
Loading…
Reference in New Issue