cltIME // Re-enable lazy-loading data models.
This commit is contained in:
parent
809cb8ce8c
commit
25f1a85e9e
|
@ -73,7 +73,7 @@ public class IME: NSObject {
|
||||||
mgrLangModel.loadUserPhrases()
|
mgrLangModel.loadUserPhrases()
|
||||||
}
|
}
|
||||||
if !userOnly {
|
if !userOnly {
|
||||||
mgrLangModel.loadDataModels() // 這句還是不要砍了。
|
// mgrLangModel.loadDataModels()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -121,7 +121,7 @@ class ctlInputMethod: IMKInputController {
|
||||||
default:
|
default:
|
||||||
newInputMode = InputMode.imeModeNULL
|
newInputMode = InputMode.imeModeNULL
|
||||||
}
|
}
|
||||||
// mgrLangModel.loadDataModel(newInputMode)
|
mgrLangModel.loadDataModel(newInputMode)
|
||||||
|
|
||||||
if keyHandler.inputMode != newInputMode {
|
if keyHandler.inputMode != newInputMode {
|
||||||
UserDefaults.standard.synchronize()
|
UserDefaults.standard.synchronize()
|
||||||
|
|
Loading…
Reference in New Issue