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"; ...@@ -401,7 +401,7 @@ static NSString *kDecrapifyTitles = @"MLDecrapifyTitles";
if ([process respondsToSelector:@selector(enableSuddenTermination)]) if ([process respondsToSelector:@selector(enableSuddenTermination)])
[process enableSuddenTermination]; [process enableSuddenTermination];
#endif #endif
} }];
} }
- (void)save - (void)save
...@@ -409,8 +409,7 @@ static NSString *kDecrapifyTitles = @"MLDecrapifyTitles"; ...@@ -409,8 +409,7 @@ static NSString *kDecrapifyTitles = @"MLDecrapifyTitles";
NSManagedObjectContext *moc = [self managedObjectContext]; NSManagedObjectContext *moc = [self managedObjectContext];
if (!moc) if (!moc)
return; return;
[moc performBlock:^{
[moc performBlock:{
NSError *error = nil; NSError *error = nil;
@try { @try {
[moc save:&error]; [moc save:&error];
...@@ -418,7 +417,7 @@ static NSString *kDecrapifyTitles = @"MLDecrapifyTitles"; ...@@ -418,7 +417,7 @@ static NSString *kDecrapifyTitles = @"MLDecrapifyTitles";
@catch (NSException *exception) { @catch (NSException *exception) {
APLog(@"Saving changes failed"); APLog(@"Saving changes failed");
} }
} }];
} }
- (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context - (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