From d42c8d005374bff8bbd134bed58959bda0764e90 Mon Sep 17 00:00:00 2001 From: QuentinArguillere Date: Mon, 14 Jun 2021 16:21:29 +0200 Subject: [PATCH] Change the group chat info popup menu size to match the available features --- Classes/ChatConversationView.m | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Classes/ChatConversationView.m b/Classes/ChatConversationView.m index 251c10903..428ee958b 100644 --- a/Classes/ChatConversationView.m +++ b/Classes/ChatConversationView.m @@ -240,6 +240,11 @@ static UICompositeViewDescription *compositeDescription = nil; completion:nil]; } [self configureForRoom:self.editing]; + + // Resize the popup table depending on wether ephemeral messages are enabled or not. + CGRect popupFrame = _popupMenu.frame; + popupFrame.size.height = 44 * [_popupMenu numberOfRowsInSection:0]; + _popupMenu.frame = popupFrame; }