Browse Source

Disable iVersion for bug fix update!

pull/113/head 22.05
Abhishek 3 years ago
parent
commit
2ceb310ee3
  1. 5
      Clocker/AppDelegate.swift
  2. 5
      Clocker/Dependencies/iVersion/iVersion.m

5
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")

5
Clocker/Dependencies/iVersion/iVersion.m

@ -110,11 +110,6 @@ static NSString *mostRecentVersionInDict(NSDictionary *dictionary)
@implementation iVersion
+ (void)load
{
[self performSelectorOnMainThread:@selector(sharedInstance) withObject:nil waitUntilDone:NO];
}
+ (iVersion *)sharedInstance
{
static iVersion *sharedInstance = nil;

Loading…
Cancel
Save