         ThemeManager.addObserver(navigationController?.navigationBar)
         textInputbar.applyTheme()
         chatTitleView?.state = SocketManager.sharedInstance.state
+
+        dataController.invalidateLayout(for: nil)
+        collectionView?.setNeedsLayout()
+        collectionView?.reloadData()
     }
 
     override func viewDidAppear(_ animated: Bool) {


    override func viewWillTransition(to size: CGSize, with coordinator: UIViewControllerTransitionCoordinator) {
        dataController.invalidateLayout(for: nil)
        coordinator.animate(alongsideTransition: { _ in
            self.collectionView?.reloadData()
            self.tableView?.reloadData()

    }

    internal func emptySubscriptionState() {
        dataController.invalidateLayout(for: nil)
        clearListData()
        updateJoinedView()

