summaryrefslogtreecommitdiff
path: root/Juick/AppDelegate.m
diff options
context:
space:
mode:
Diffstat (limited to 'Juick/AppDelegate.m')
-rw-r--r--Juick/AppDelegate.m4
1 files changed, 4 insertions, 0 deletions
diff --git a/Juick/AppDelegate.m b/Juick/AppDelegate.m
index 61c8da5..3bdb774 100644
--- a/Juick/AppDelegate.m
+++ b/Juick/AppDelegate.m
@@ -147,4 +147,8 @@ NSString * const UserUpdatedNotificationName = @"UserUpdated";
return [mainStoryboard instantiateViewControllerWithIdentifier:@"threadViewControllerIdentifier"];
}
+- (void) presentLoginView:(UIViewController *)vc {
+ [self.window.rootViewController performSegueWithIdentifier:@"loginSegue" sender:vc];
+}
+
@end