AppDelegate // Fix odd preferences first.

This commit is contained in:
ShikiSuen 2023-03-05 22:59:42 +08:00
parent a5a1861801
commit 3ec0753686
1 changed files with 1 additions and 2 deletions

View File

@ -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)