Commit 8bac67b6 authored by Carola Nitz's avatar Carola Nitz

Add missing closing brackets, follow up to 71629df2

parent 71629df2
......@@ -401,7 +401,7 @@ static NSString *kDecrapifyTitles = @"MLDecrapifyTitles";
if ([process respondsToSelector:@selector(enableSuddenTermination)])
[process enableSuddenTermination];
#endif
}
}];
}
- (void)save
......@@ -409,8 +409,7 @@ static NSString *kDecrapifyTitles = @"MLDecrapifyTitles";
NSManagedObjectContext *moc = [self managedObjectContext];
if (!moc)
return;
[moc performBlock:{
[moc performBlock:^{
NSError *error = nil;
@try {
[moc save:&error];
......@@ -418,7 +417,7 @@ static NSString *kDecrapifyTitles = @"MLDecrapifyTitles";
@catch (NSException *exception) {
APLog(@"Saving changes failed");
}
}
}];
}
- (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment