Fix bubble layout in message details

TextView size depends on the VC.view size, so it must be updated when
view is done laying out.

// FREEBIE
pull/1/head
Michael Kirk 7 years ago
parent 6c357e8228
commit 19eb17b469

@ -89,6 +89,8 @@ class MessageDetailViewController: OWSViewController, UIScrollViewDelegate, Medi
override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated)
updateTextLayout()
if mode == .focusOnMetadata {
if let bubbleView = self.bubbleView {
// Force layout.

Loading…
Cancel
Save