Sync device orientation when conversation view and home view appear.

pull/1/head
Matthew Chen 6 years ago
parent a5d9a40c8c
commit 48fda586c3

@ -748,6 +748,8 @@ typedef enum : NSUInteger {
OWSLogVerbose(@"First viewWillAppear took: %.2fms", appearenceDuration * 1000);
}
[self updateInputToolbarLayout];
[UIViewController attemptRotationToDeviceOrientation];
}
- (NSArray<id<ConversationViewItem>> *)viewItems

@ -645,6 +645,8 @@ NSString *const kArchivedConversationsReuseIdentifier = @"kArchivedConversations
}
[self.searchResultsController viewWillAppear:animated];
[UIViewController attemptRotationToDeviceOrientation];
}
- (void)viewWillDisappear:(BOOL)animated

Loading…
Cancel
Save