Dismiss message actions UI on orientation change.
This commit is contained in:
parent
ef3f36ad41
commit
41a2a954f5
|
@ -4988,6 +4988,7 @@ typedef enum : NSUInteger {
|
|||
- (void)conversationViewModelDidDeleteMostRecentMenuActionsViewItem
|
||||
{
|
||||
OWSAssertIsOnMainThread();
|
||||
|
||||
[[OWSWindowManager sharedManager] hideMenuActionsWindow];
|
||||
}
|
||||
|
||||
|
@ -4996,8 +4997,12 @@ typedef enum : NSUInteger {
|
|||
- (void)viewWillTransitionToSize:(CGSize)size
|
||||
withTransitionCoordinator:(id<UIViewControllerTransitionCoordinator>)coordinator
|
||||
{
|
||||
OWSAssertIsOnMainThread();
|
||||
|
||||
[super viewWillTransitionToSize:size withTransitionCoordinator:coordinator];
|
||||
|
||||
[[OWSWindowManager sharedManager] hideMenuActionsWindow];
|
||||
|
||||
// Snapshot the "last visible row".
|
||||
NSIndexPath *_Nullable lastVisibleIndexPath = self.lastVisibleIndexPath;
|
||||
|
||||
|
|
Loading…
Reference in New Issue