From 1335986cbb10f96b20747623e8b7ecc2aa1ec58c Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 24 Jun 2020 22:50:01 +0300 Subject: Call didReceiveNotificationResponse completionHandler correctly --- Juick/AppDelegate.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- cgit v1.2.3