diff options
author | Vitaly Takmazov | 2020-06-24 22:50:01 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2020-06-24 22:50:01 +0300 |
commit | 1335986cbb10f96b20747623e8b7ecc2aa1ec58c (patch) | |
tree | 34023b0fb05ca71ae48650a9e1a50f98ce26048b /Juick/AppDelegate.m | |
parent | c504ba6702250a487845607fb76444a0c7e16161 (diff) |
Call didReceiveNotificationResponse completionHandler correctly
Diffstat (limited to 'Juick/AppDelegate.m')
-rw-r--r-- | Juick/AppDelegate.m | 2 |
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 { |