From b20e123bfd8515b58d500927d1a2b4ee93f94e10 Mon Sep 17 00:00:00 2001 From: ryanzhao Date: Wed, 28 Sep 2022 16:57:13 +1000 Subject: [PATCH] WIP: fix message bubble UI in conversation view when rotating the device --- Session/Conversations/ConversationVC.swift | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Session/Conversations/ConversationVC.swift b/Session/Conversations/ConversationVC.swift index 8142600ea..de52e02a5 100644 --- a/Session/Conversations/ConversationVC.swift +++ b/Session/Conversations/ConversationVC.swift @@ -476,6 +476,11 @@ final class ConversationVC: BaseVC, OWSConversationSettingsViewDelegate, Convers stopObservingChanges() } + override func viewWillTransition(to size: CGSize, with coordinator: UIViewControllerTransitionCoordinator) { + super.viewWillTransition(to: size, with: coordinator) + tableView.reloadData() + } + // MARK: - Updating private func startObservingChanges(didReturnFromBackground: Bool = false) {