summaryrefslogtreecommitdiff
path: root/Juick/AppDelegate.m
diff options
context:
space:
mode:
Diffstat (limited to 'Juick/AppDelegate.m')
-rw-r--r--Juick/AppDelegate.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Juick/AppDelegate.m b/Juick/AppDelegate.m
index b376052..e2eebe5 100644
--- a/Juick/AppDelegate.m
+++ b/Juick/AppDelegate.m
@@ -88,7 +88,7 @@
UITabBarController *main = (UITabBarController *)self.window.rootViewController;
[main setSelectedIndex:0];
UINavigationController *discover = (UINavigationController *)[main.viewControllers objectAtIndex:0];
- [discover performSegueWithIdentifier:@"threadViewSegue" sender:discover];
+ [[discover.viewControllers objectAtIndex:0] performSegueWithIdentifier:@"threadViewSegue" sender:discover];
completionHandler();
}