diff options
Diffstat (limited to 'Juick')
-rw-r--r-- | Juick/AppDelegate.m | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Juick/AppDelegate.m b/Juick/AppDelegate.m index aa25052..bfde8cf 100644 --- a/Juick/AppDelegate.m +++ b/Juick/AppDelegate.m @@ -99,6 +99,8 @@ NSString * const UserUpdatedNotificationName = @"UserUpdated"; [self parseNotificationPayload:userInfo]; [[NSOperationQueue mainQueue] addOperationWithBlock:^{ UITabBarController *main = (UITabBarController *)[self navigator]; + UINavigationController *root = main.navigationController; + [root popToRootViewControllerAnimated:NO]; if ([self.pushedThread integerValue] > 0) { [main setSelectedIndex:0]; MessagesViewController *discover = (MessagesViewController *)[main.viewControllers objectAtIndex:0]; |