mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-29 20:56:57 +02:00
MXHTTPOperation: Remove nullability check before using mutateTo: method where needed.
This commit is contained in:
@@ -237,11 +237,8 @@ NSString *const WidgetManagerErrorDomain = @"WidgetManagerErrorDomain";
|
||||
content:widgetContent
|
||||
stateKey:widgetId
|
||||
success:nil failure:failure];
|
||||
|
||||
if (operation2)
|
||||
{
|
||||
[operation mutateTo:operation2];
|
||||
}
|
||||
|
||||
[operation mutateTo:operation2];
|
||||
|
||||
} failure:^(NSError *error) {
|
||||
if (failure)
|
||||
@@ -316,11 +313,8 @@ NSString *const WidgetManagerErrorDomain = @"WidgetManagerErrorDomain";
|
||||
success();
|
||||
}
|
||||
} failure:failure];
|
||||
|
||||
if (operation2)
|
||||
{
|
||||
[operation mutateTo:operation2];
|
||||
}
|
||||
|
||||
[operation mutateTo:operation2];
|
||||
|
||||
} failure:^(NSError *error) {
|
||||
if (failure)
|
||||
|
||||
Reference in New Issue
Block a user