From 34388f1d101d40a42f3823019c8720fa8a5c1702 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20M=C3=BCller?= Date: Sun, 5 Feb 2023 15:15:33 +0100 Subject: [PATCH 1/2] Fix wrong constraint constant MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marcel Müller --- NextcloudTalk/CallViewController.xib | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NextcloudTalk/CallViewController.xib b/NextcloudTalk/CallViewController.xib index 08faf5fe..e7282282 100644 --- a/NextcloudTalk/CallViewController.xib +++ b/NextcloudTalk/CallViewController.xib @@ -205,7 +205,7 @@ - + @@ -271,7 +271,7 @@ - + From 8c0f1ad6fead91701df6d7a94002e422af2a90ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20M=C3=BCller?= Date: Sun, 5 Feb 2023 15:16:06 +0100 Subject: [PATCH 2/2] Adjust constraints before invalidating the collection view layout MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marcel Müller --- NextcloudTalk/CallViewController.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/NextcloudTalk/CallViewController.m b/NextcloudTalk/CallViewController.m index 3864b0df..f7464648 100644 --- a/NextcloudTalk/CallViewController.m +++ b/NextcloudTalk/CallViewController.m @@ -282,9 +282,10 @@ typedef void (^UpdateCallParticipantViewCellBlock)(CallParticipantViewCell *cell { [super viewWillTransitionToSize:size withTransitionCoordinator:coordinator]; + [self adjustConstraints]; [self.collectionView.collectionViewLayout invalidateLayout]; + [coordinator animateAlongsideTransition:^(id _Nonnull context) { - [self adjustConstraints]; [self setLocalVideoRect]; [self resizeScreensharingView]; [self adjustTopBar];