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

        ThemeManager.addObserver(navigationController?.navigationBar)
        textInputbar.applyTheme()
        chatTitleView?.state = SocketManager.sharedInstance.state
    }

    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()
