Permalink
Browse files

Changed Core Data concurrency type

Fixes #174
Changed default settings for Dropbox keys, should not crash anymore
Fixes #173
  • Loading branch information...
mgmart committed Feb 4, 2017
1 parent e178927 commit e0caa2c72e7b0a23aa2fce8861288afea5b9fbd4
Showing with 3 additions and 3 deletions.
  1. +1 −1 Classes/MobileOrgAppDelegate.m
  2. +2 −2 Configuration/AppKey.plist
@@ -213,7 +213,7 @@ - (NSManagedObjectContext *) managedObjectContext {
NSPersistentStoreCoordinator *coordinator = [self persistentStoreCoordinator];
if (coordinator != nil) {
managedObjectContext = [[NSManagedObjectContext alloc] initWithConcurrencyType: NSMainQueueConcurrencyType];
managedObjectContext = [[NSManagedObjectContext alloc] initWithConcurrencyType:NSPrivateQueueConcurrencyType];
[managedObjectContext setPersistentStoreCoordinator: coordinator];
}
return managedObjectContext;
@@ -5,9 +5,9 @@
<key>Dropbox API Key</key>
<dict>
<key>AppKey</key>
<string>Your App Key</string>
<string>YourAppKey</string>
<key>AppSecret</key>
<string>Your App Key Secret</string>
<string>YourAppKeySecret</string>
</dict>
</dict>
</plist>

0 comments on commit e0caa2c

Please sign in to comment.