AppDelegate // Always relocate wrecked UOM data.

This commit is contained in:
ShikiSuen 2023-08-21 20:24:43 +08:00
parent b375da5c95
commit 2ea94c8886
1 changed files with 1 additions and 6 deletions

View File

@ -70,12 +70,7 @@ public extension AppDelegate {
// Debug // Debug
// Debug // Debug
if PrefMgr.shared.failureFlagForUOMObservation { if PrefMgr.shared.failureFlagForUOMObservation {
if PrefMgr.shared.isDebugModeEnabled { LMMgr.relocateWreckedUOMData()
LMMgr.relocateWreckedUOMData()
} else {
LMMgr.clearUserOverrideModelData(.imeModeCHS)
LMMgr.clearUserOverrideModelData(.imeModeCHT)
}
PrefMgr.shared.failureFlagForUOMObservation = false PrefMgr.shared.failureFlagForUOMObservation = false
let userNotification = NSUserNotification() let userNotification = NSUserNotification()
userNotification.title = NSLocalizedString("vChewing", comment: "") userNotification.title = NSLocalizedString("vChewing", comment: "")