From 2ceb310ee31d2e76087d1890d3ac36195261c4db Mon Sep 17 00:00:00 2001 From: Abhishek Date: Sat, 16 Apr 2022 14:11:06 -0400 Subject: [PATCH] Disable iVersion for bug fix update! --- Clocker/AppDelegate.swift | 5 ----- Clocker/Dependencies/iVersion/iVersion.m | 5 ----- 2 files changed, 10 deletions(-) diff --git a/Clocker/AppDelegate.swift b/Clocker/AppDelegate.swift index e2281fbd..778248f9 100644 --- a/Clocker/AppDelegate.swift +++ b/Clocker/AppDelegate.swift @@ -39,11 +39,6 @@ open class AppDelegate: NSObject, NSApplicationDelegate { } } - public func applicationWillFinishLaunching(_: Notification) { - iVersion.sharedInstance().useAllAvailableLanguages = true - iVersion.sharedInstance().verboseLogging = false - } - public func applicationDidFinishLaunching(_: Notification) { // Required for migrating our model type to CoreModelKit NSKeyedUnarchiver.setClass(CoreModelKit.TimezoneData.classForKeyedUnarchiver(), forClassName: "Clocker.TimezoneData") diff --git a/Clocker/Dependencies/iVersion/iVersion.m b/Clocker/Dependencies/iVersion/iVersion.m index eab6a415..b049704d 100755 --- a/Clocker/Dependencies/iVersion/iVersion.m +++ b/Clocker/Dependencies/iVersion/iVersion.m @@ -110,11 +110,6 @@ @interface iVersion () @implementation iVersion -+ (void)load -{ - [self performSelectorOnMainThread:@selector(sharedInstance) withObject:nil waitUntilDone:NO]; -} - + (iVersion *)sharedInstance { static iVersion *sharedInstance = nil;