Avoid storing images in the database

This commit is contained in:
Cameron Gutman committed 2018-08-27 01:54:58 -07:00
1 parent 450960eaaf
commit 90d47004e7
12 files changed
+92 -46

No files matched your search

-14
View File
@@ -128,20 +128,6 @@
}];
}
- (void) updateIconForExistingApp:(TemporaryApp*)app {
[_managedObjectContext performBlockAndWait:^{
App* parentApp = [self getAppForTemporaryApp:app withAppRecords:[self fetchRecords:@"App"]];
if (parentApp == nil) {
// The app must exist to be updated
return;
}
parentApp.image = app.image;
[self saveData];
}];
}
- (TemporarySettings*) getSettings {
__block TemporarySettings *tempSettings;