summaryrefslogtreecommitdiff
path: root/Juick/AppDelegate.m
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-12-06 23:31:30 +0300
committerGravatar Vitaly Takmazov2017-12-06 23:31:30 +0300
commit48234265991dd8ba8e26bd1fa7ea296a9f192ce9 (patch)
tree9fc13790f32597d9ac06bf017cde1ccad03ff415 /Juick/AppDelegate.m
parentb8b49289ceb00255c689e4a373d6e116248b9c6b (diff)
refactor
Diffstat (limited to 'Juick/AppDelegate.m')
-rw-r--r--Juick/AppDelegate.m2
1 files changed, 2 insertions, 0 deletions
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;
}