From 48234265991dd8ba8e26bd1fa7ea296a9f192ce9 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 6 Dec 2017 23:31:30 +0300 Subject: refactor --- Juick/AppDelegate.m | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Juick/AppDelegate.m') diff --git a/Juick/AppDelegate.m b/Juick/AppDelegate.m index 04a441c..93c6b5b 100644 --- a/Juick/AppDelegate.m +++ b/Juick/AppDelegate.m @@ -32,6 +32,8 @@ NSDictionary *userInfo = launchOptions[UIApplicationLaunchOptionsRemoteNotificationKey]; if (userInfo != nil) { self.pushedThread = [userInfo objectForKey:@"mid"]; + UINavigationController *main = (UINavigationController *) self.window.rootViewController; + [main performSegueWithIdentifier:@"threadViewSegue" sender:main]; } return YES; } -- cgit v1.2.3