fix many messagesrootvcs being added

fix lag when resizing?
This commit is contained in:
Nihaal Sharma committed 2026-07-31 01:30:40 +05:30
1 parent 8b87febd30
commit 9b0a05abc3
2 files changed
+5 -7

No files matched your search

@@ -24,6 +24,7 @@ class MessagesRootViewController: UIViewController {
self.trailingVC = trailing
super.init(nibName: nil, bundle: nil)
leadingVC.onSelect = { pack in
self.trailingVC.willMove(toParent: nil)
self.trailingVC.view.removeFromSuperview()
self.trailingVC.removeFromParent()
self.trailingVC.didMove(toParent: nil)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.