Dismiss message actions UI on orientation change.

This commit is contained in:
Matthew Chen 2019-03-11 10:55:26 -04:00
parent 41a2a954f5
commit 0a1947c961
1 changed files with 4 additions and 0 deletions

View File

@ -5001,6 +5001,10 @@ typedef enum : NSUInteger {
[super viewWillTransitionToSize:size withTransitionCoordinator:coordinator];
// The "message actions" window tries to pin the message
// in the content of this view. It's easier to dismiss the
// "message actions" window when the device changes orientation
// than to try to ensure this works in that case.
[[OWSWindowManager sharedManager] hideMenuActionsWindow];
// Snapshot the "last visible row".