From a8ad5d5a9b218f4abbed97f863f01ba49db32408 Mon Sep 17 00:00:00 2001 From: Sam Steele Date: Thu, 17 Jun 2021 08:09:52 -0400 Subject: [PATCH] Update message area height when rotating between portrait/landscape --- IRCCloud/Classes/MainViewController.m | 3 +++ build-scripts/BUILD | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/IRCCloud/Classes/MainViewController.m b/IRCCloud/Classes/MainViewController.m index ca07e160..6402dc9f 100644 --- a/IRCCloud/Classes/MainViewController.m +++ b/IRCCloud/Classes/MainViewController.m @@ -3320,6 +3320,9 @@ -(void)transitionToSize:(CGSize)size { [self.view layoutIfNeeded]; + //Re-calculate the expanding text view height for the new layout + _message.text = _message.text; + UIView *v = self.navigationItem.titleView; self.navigationItem.titleView = nil; self.navigationItem.titleView = v; diff --git a/build-scripts/BUILD b/build-scripts/BUILD index 9a137177..3968aef8 100644 --- a/build-scripts/BUILD +++ b/build-scripts/BUILD @@ -1 +1 @@ -169 \ No newline at end of file +170 \ No newline at end of file