Manos Chorianopoulos

fix initialize crash

......@@ -250,10 +250,13 @@ typedef void (^FailureResponse)(NSURLSessionDataTask * _Nullable task, NSError *
NSLog(@"restore error: %@", exception.reason);
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
if ([defaults boolForKey:@"NBAppUninstalled"] == YES) {
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
self.appUUID = [defaults stringForKey:@"NBAPPUuidUD"];
self.apiKey = [defaults stringForKey:@"NBAPIKeyUD"];
self.webId = [defaults stringForKey:@"NBWebIDUD"];
}
}
@finally {
// NSLog(@"Finally condition");
}
......