From 0055643a9b5fbd1b6b61a47c3759dd0ad704fa0f Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 22 Dec 2017 06:46:11 +0300 Subject: drop more unneeded animations --- Juick/AppDelegate.m | 2 +- Juick/Supporting Files/Juick-Info.plist | 2 +- Juick/ViewControllers/MessagesViewController.m | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Juick/AppDelegate.m b/Juick/AppDelegate.m index 0cd064d..5f76145 100644 --- a/Juick/AppDelegate.m +++ b/Juick/AppDelegate.m @@ -80,7 +80,7 @@ NSLog(@"User Info : %@", userInfo); [self parseNotificationPayload:userInfo]; UINavigationController *main = (UINavigationController *)self.window.rootViewController; - [main popToRootViewControllerAnimated:YES]; + [main popToRootViewControllerAnimated:NO]; if ([main.visibleViewController isKindOfClass:[DiscoverViewController class]]) { [main.visibleViewController performSegueWithIdentifier:@"threadViewSegue" sender:main.visibleViewController]; } diff --git a/Juick/Supporting Files/Juick-Info.plist b/Juick/Supporting Files/Juick-Info.plist index 5035e69..4b8907f 100644 --- a/Juick/Supporting Files/Juick-Info.plist +++ b/Juick/Supporting Files/Juick-Info.plist @@ -21,7 +21,7 @@ CFBundleSignature ???? CFBundleVersion - 1.0.43 + 1.0.44 ITSAppUsesNonExemptEncryption LSApplicationCategoryType diff --git a/Juick/ViewControllers/MessagesViewController.m b/Juick/ViewControllers/MessagesViewController.m index 8e4835b..de79164 100644 --- a/Juick/ViewControllers/MessagesViewController.m +++ b/Juick/ViewControllers/MessagesViewController.m @@ -55,7 +55,7 @@ self.dataLoading = NO; if (scrollToBottom) { NSIndexPath *lastRow = [NSIndexPath indexPathForRow:self.messages.count - 1 inSection:0]; - [self.tableView scrollToRowAtIndexPath:lastRow atScrollPosition:UITableViewScrollPositionBottom animated:YES]; + [self.tableView scrollToRowAtIndexPath:lastRow atScrollPosition:UITableViewScrollPositionBottom animated:NO]; } }]; } -- cgit v1.2.3