Repo // Move fixOddPreferences() to AppDelegate.
This commit is contained in:
parent
12df688f48
commit
5e5aa17a08
|
@ -73,6 +73,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, ctlNonModalAlertWindowDelega
|
||||||
fsStreamHelper.delegate = self
|
fsStreamHelper.delegate = self
|
||||||
_ = fsStreamHelper.start()
|
_ = fsStreamHelper.start()
|
||||||
|
|
||||||
|
mgrPrefs.fixOddPreferences()
|
||||||
mgrPrefs.setMissingDefaults()
|
mgrPrefs.setMissingDefaults()
|
||||||
|
|
||||||
// 只要使用者沒有勾選檢查更新、沒有主動做出要檢查更新的操作,就不要檢查更新。
|
// 只要使用者沒有勾選檢查更新、沒有主動做出要檢查更新的操作,就不要檢查更新。
|
||||||
|
|
|
@ -110,8 +110,6 @@ class ctlInputMethod: IMKInputController {
|
||||||
keyHandler.clear() // 這句不要砍,因為後面 handle State.Empty() 不一定執行。
|
keyHandler.clear() // 這句不要砍,因為後面 handle State.Empty() 不一定執行。
|
||||||
keyHandler.ensureParser()
|
keyHandler.ensureParser()
|
||||||
|
|
||||||
mgrPrefs.fixOddPreferences()
|
|
||||||
|
|
||||||
if isASCIIMode {
|
if isASCIIMode {
|
||||||
if mgrPrefs.disableShiftTogglingAlphanumericalMode {
|
if mgrPrefs.disableShiftTogglingAlphanumericalMode {
|
||||||
isASCIIMode = false
|
isASCIIMode = false
|
||||||
|
|
Loading…
Reference in New Issue