mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Dismiss message actions UI on orientation change.
This commit is contained in:
parent
ef3f36ad41
commit
41a2a954f5
1 changed files with 5 additions and 0 deletions
|
@ -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 a new issue