summaryrefslogtreecommitdiff
path: root/Juick/ViewControllers/DiscoverViewController.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/DiscoverViewController.m
parent677397be225a3b34f4b26e573fd067f73f9eb75c (diff)
fix navigation
Diffstat (limited to 'Juick/ViewControllers/DiscoverViewController.m')
-rw-r--r--Juick/ViewControllers/DiscoverViewController.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Juick/ViewControllers/DiscoverViewController.m b/Juick/ViewControllers/DiscoverViewController.m
index fde23ee..11010ae 100644
--- a/Juick/ViewControllers/DiscoverViewController.m
+++ b/Juick/ViewControllers/DiscoverViewController.m
@@ -75,7 +75,7 @@ AppDelegate *appDelegate;
}
- (IBAction)filterAction:(id)sender {
if (![User isAuthenticated]) {
- [self performSegueWithIdentifier:@"loginSegue" sender:self];
+ [self.navigationController performSegueWithIdentifier:@"loginSegue" sender:self.navigationController];
return;
}
UIAlertController *filterAlert = [UIAlertController alertControllerWithTitle:nil message:nil preferredStyle:UIAlertControllerStyleActionSheet];