summaryrefslogtreecommitdiff
path: root/Juick/AppDelegate.m
diff options
context:
space:
mode:
Diffstat (limited to 'Juick/AppDelegate.m')
-rw-r--r--Juick/AppDelegate.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/Juick/AppDelegate.m b/Juick/AppDelegate.m
index cf2099a..da72111 100644
--- a/Juick/AppDelegate.m
+++ b/Juick/AppDelegate.m
@@ -160,7 +160,8 @@
}
- (UINavigationController *) navigator {
- return [[(UINavigationController *)self.window.rootViewController viewControllers] firstObject];
+ UINavigationController *secondaryNavigationController = [(UISplitViewController *)self.window.rootViewController viewControllers][1];
+ return [[secondaryNavigationController viewControllers] firstObject];
}
- (void)presentThread:(UIViewController *)vc {