summaryrefslogtreecommitdiff
path: root/Juick/AppDelegate.m
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-10-02 13:59:51 +0300
committerGravatar Vitaly Takmazov2019-10-02 13:59:51 +0300
commit33539a3c9c8534776722aa1148499f984e0019e7 (patch)
tree6f47880a9efd4e6e240ff55c043422f68dba6936 /Juick/AppDelegate.m
parentd9a6f5e85d9cffed7e8bf84b6e69b27d7db67582 (diff)
Move loginSegue to Tab bar controller
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