diff options
author | Vitaly Takmazov | 2018-04-08 23:17:47 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-04-08 23:17:47 +0300 |
commit | f6fed5b2374c7d847c68efccce363f9513aa2efb (patch) | |
tree | 74021a451bd5cfb1df1a7771a32dbc121a7163c6 /Juick/AppDelegate.m | |
parent | 6f8855ce3b83cc50583b62b4a1960c27fdf66bb3 (diff) |
PM posts
Diffstat (limited to 'Juick/AppDelegate.m')
-rw-r--r-- | Juick/AppDelegate.m | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Juick/AppDelegate.m b/Juick/AppDelegate.m index 3e92687..9bbf567 100644 --- a/Juick/AppDelegate.m +++ b/Juick/AppDelegate.m @@ -83,7 +83,6 @@ //Called to let your app know which action was selected by the user for a given notification. -(void)userNotificationCenter:(UNUserNotificationCenter *)center didReceiveNotificationResponse:(UNNotificationResponse *)response withCompletionHandler:(void(^)(void))completionHandler{ NSDictionary *userInfo = response.notification.request.content.userInfo; - NSLog(@"User Info : %@", userInfo); [self parseNotificationPayload:userInfo]; UITabBarController *main = (UITabBarController *)self.window.rootViewController; if ([self.pushedThread integerValue] > 0) { @@ -91,10 +90,8 @@ UINavigationController *discover = (UINavigationController *)[main.viewControllers objectAtIndex:0]; [[discover.viewControllers objectAtIndex:0] performSegueWithIdentifier:@"threadViewSegue" sender:discover]; } else { - NSLog(@"Pushing to PM"); [main setSelectedIndex:1]; UINavigationController *dialogs = (UINavigationController *)[main.viewControllers objectAtIndex:1]; - NSLog(@"perform PM segue"); [[dialogs.viewControllers objectAtIndex:0] performSegueWithIdentifier:@"chatSegue" sender:dialogs]; } completionHandler(); |