summaryrefslogtreecommitdiff
path: root/Juick/ViewControllers/LoginViewController.m
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-04-01 23:03:29 +0300
committerGravatar Vitaly Takmazov2018-04-01 23:03:29 +0300
commitc623f12b2d5e95708a3971e642410c9098f71285 (patch)
tree795caed3887d28c3cf80fe10fe920a9d9f4268b5 /Juick/ViewControllers/LoginViewController.m
parent677397be225a3b34f4b26e573fd067f73f9eb75c (diff)
fix navigation
Diffstat (limited to 'Juick/ViewControllers/LoginViewController.m')
-rw-r--r--Juick/ViewControllers/LoginViewController.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Juick/ViewControllers/LoginViewController.m b/Juick/ViewControllers/LoginViewController.m
index fd3c2b0..917d563 100644
--- a/Juick/ViewControllers/LoginViewController.m
+++ b/Juick/ViewControllers/LoginViewController.m
@@ -52,7 +52,7 @@
transition.subtype = kCATransitionFromTop;
[self.navigationController.view.layer addAnimation:transition forKey:kCATransition];
- [self.navigationController popViewControllerAnimated:NO];
+ [self.navigationController dismissViewControllerAnimated:NO completion:nil];
}
- (void) doneSignIn {
@@ -68,7 +68,7 @@
transition.subtype = kCATransitionFromTop;
[self.navigationController.view.layer addAnimation:transition forKey:kCATransition];
- [self.navigationController popToRootViewControllerAnimated:NO];
+ [self.navigationController dismissViewControllerAnimated:NO completion:nil];
} else {
[User throwUnableToLogin:self];
}