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
if PrefMgr.shared.failureFlagForUOMObservation {
if PrefMgr.shared.isDebugModeEnabled {
LMMgr.relocateWreckedUOMData()
} else {
LMMgr.clearUserOverrideModelData(.imeModeCHS)
LMMgr.clearUserOverrideModelData(.imeModeCHT)
}
LMMgr.relocateWreckedUOMData()
PrefMgr.shared.failureFlagForUOMObservation = false
let userNotification = NSUserNotification()
userNotification.title = NSLocalizedString("vChewing", comment: "")