mirror of
https://github.com/neon443/StickerSlack.git
synced 2026-11-30 12:44:51 +00:00
fix many messagesrootvcs being added
fix lag when resizing?
This commit is contained in:
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)
|
||||
|
||||