diff --git a/Source/Modules/AppDelegate.swift b/Source/Modules/AppDelegate.swift index b3552602..1f754516 100644 --- a/Source/Modules/AppDelegate.swift +++ b/Source/Modules/AppDelegate.swift @@ -48,6 +48,7 @@ public extension AppDelegate { func applicationDidFinishLaunching(_: Notification) { NSUserNotificationCenter.default.delegate = self + PrefMgr.shared.fixOddPreferences() if PrefMgr.shared.failureFlagForIMKCandidates { DispatchQueue.main.async { @@ -91,8 +92,6 @@ public extension AppDelegate { if LMMgr.userDataFolderExists { self.folderMonitor.startMonitoring() } } - PrefMgr.shared.fixOddPreferences() - // 只要使用者沒有勾選檢查更新、沒有主動做出要檢查更新的操作,就不要檢查更新。 if PrefMgr.shared.checkUpdateAutomatically { UpdateSputnik.shared.checkForUpdate(forced: false, url: kUpdateInfoSourceURL)