AppDelegate // Fix odd preferences first.
This commit is contained in:
parent
a5a1861801
commit
3ec0753686
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue