From dce7c81767a721db0ebaba4c687e69f3902e2213 Mon Sep 17 00:00:00 2001 From: Abhishek Banthia <8280282+n0shake@users.noreply.github.com> Date: Wed, 20 Apr 2022 09:33:17 -0400 Subject: [PATCH] Update AppDelegate.swift --- Clocker/AppDelegate.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Clocker/AppDelegate.swift b/Clocker/AppDelegate.swift index 446f405..261a666 100644 --- a/Clocker/AppDelegate.swift +++ b/Clocker/AppDelegate.swift @@ -43,7 +43,7 @@ open class AppDelegate: NSObject, NSApplicationDelegate { // Required for migrating our model type to CoreModelKit NSKeyedUnarchiver.setClass(CoreModelKit.TimezoneData.classForKeyedUnarchiver(), forClassName: "Clocker.TimezoneData") - AppDefaults.initialize() + AppDefaults.initialize(with: DataStore.shared(), defaults: UserDefaults.standard) // Check if we can show the onboarding flow! showOnboardingFlowIfEligible() @@ -53,7 +53,7 @@ open class AppDelegate: NSObject, NSApplicationDelegate { #if RELEASE FirebaseApp.configure() - checkIfRunFromApplicationsFolder() +// checkIfRunFromApplicationsFolder() #endif }