summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2020-06-24 22:50:01 +0300
committerGravatar Vitaly Takmazov2020-06-24 22:50:01 +0300
commit1335986cbb10f96b20747623e8b7ecc2aa1ec58c (patch)
tree34023b0fb05ca71ae48650a9e1a50f98ce26048b
parentc504ba6702250a487845607fb76444a0c7e16161 (diff)
Call didReceiveNotificationResponse completionHandler correctly
-rw-r--r--Juick/AppDelegate.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Juick/AppDelegate.m b/Juick/AppDelegate.m
index 7824a41..aa25052 100644
--- a/Juick/AppDelegate.m
+++ b/Juick/AppDelegate.m
@@ -109,8 +109,8 @@ NSString * const UserUpdatedNotificationName = @"UserUpdated";
MessagesViewController *dialogs = (MessagesViewController *)[main.viewControllers objectAtIndex:2];
[dialogs performSegueWithIdentifier:@"chatSegue" sender:dialogs];
}
+ completionHandler();
}];
- completionHandler();
}
- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo fetchCompletionHandler:(void (^)(UIBackgroundFetchResult))completionHandler {