diff options
Diffstat (limited to 'Juick/ViewControllers/DiscoverViewController.m')
-rw-r--r-- | Juick/ViewControllers/DiscoverViewController.m | 2 |
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]; |