From 9d020e490c8703e65a5773b3b9382dbd21182af4 Mon Sep 17 00:00:00 2001 From: Matthew Chen Date: Wed, 16 Jan 2019 15:24:19 -0500 Subject: [PATCH] Respond to CR. --- Signal/src/AppDelegate.m | 2 ++ .../ConversationView/ConversationViewController.m | 2 -- Signal/src/ViewControllers/HomeView/HomeViewController.m | 2 -- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Signal/src/AppDelegate.m b/Signal/src/AppDelegate.m index ee6035b8f..e4a613128 100644 --- a/Signal/src/AppDelegate.m +++ b/Signal/src/AppDelegate.m @@ -1327,6 +1327,8 @@ static NSTimeInterval launchStartedAt; self.window.rootViewController = navigationController; [AppUpdateNag.sharedInstance showAppUpgradeNagIfNecessary]; + + [UIViewController attemptRotationToDeviceOrientation]; } #pragma mark - status bar touches diff --git a/Signal/src/ViewControllers/ConversationView/ConversationViewController.m b/Signal/src/ViewControllers/ConversationView/ConversationViewController.m index 8203c41f3..08e8c1488 100644 --- a/Signal/src/ViewControllers/ConversationView/ConversationViewController.m +++ b/Signal/src/ViewControllers/ConversationView/ConversationViewController.m @@ -748,8 +748,6 @@ typedef enum : NSUInteger { OWSLogVerbose(@"First viewWillAppear took: %.2fms", appearenceDuration * 1000); } [self updateInputToolbarLayout]; - - [UIViewController attemptRotationToDeviceOrientation]; } - (NSArray> *)viewItems diff --git a/Signal/src/ViewControllers/HomeView/HomeViewController.m b/Signal/src/ViewControllers/HomeView/HomeViewController.m index 1d66b0151..70f330944 100644 --- a/Signal/src/ViewControllers/HomeView/HomeViewController.m +++ b/Signal/src/ViewControllers/HomeView/HomeViewController.m @@ -645,8 +645,6 @@ NSString *const kArchivedConversationsReuseIdentifier = @"kArchivedConversations } [self.searchResultsController viewWillAppear:animated]; - - [UIViewController attemptRotationToDeviceOrientation]; } - (void)viewWillDisappear:(BOOL)animated