mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 17:12:45 +02:00
Glitchy room list header when scrolling
- fixed
This commit is contained in:
@@ -297,17 +297,6 @@ final class TabBarCoordinator: NSObject, TabBarCoordinatorType {
|
||||
return versionCheckCoordinator
|
||||
}
|
||||
|
||||
private func createAllChatsViewController() -> AllChatsViewControllerWithBannerWrapperViewController {
|
||||
let allChatsViewController = AllChatsViewController.instantiate()
|
||||
allChatsViewController.tabBarItem.tag = Int(TABBAR_HOME_INDEX)
|
||||
allChatsViewController.tabBarItem.image = allChatsViewController.tabBarItem.image
|
||||
allChatsViewController.accessibilityLabel = VectorL10n.allChatsTitle
|
||||
allChatsViewController.userIndicatorStore = UserIndicatorStore(presenter: indicatorPresenter)
|
||||
|
||||
let wrapperViewController = AllChatsViewControllerWithBannerWrapperViewController(viewController: allChatsViewController)
|
||||
return wrapperViewController
|
||||
}
|
||||
|
||||
private func createHomeViewController() -> HomeViewControllerWithBannerWrapperViewController {
|
||||
let homeViewController: HomeViewController = HomeViewController.instantiate()
|
||||
homeViewController.tabBarItem.tag = Int(TABBAR_HOME_INDEX)
|
||||
@@ -378,7 +367,7 @@ final class TabBarCoordinator: NSObject, TabBarCoordinatorType {
|
||||
private func updateTabControllers(for tabBarController: MasterTabBarController, showCommunities: Bool) {
|
||||
var viewControllers: [UIViewController] = []
|
||||
|
||||
let homeViewController = BuildSettings.isNewAppLayoutActivated ? self.createAllChatsViewController() : self.createHomeViewController()
|
||||
let homeViewController = self.createHomeViewController()
|
||||
viewControllers.append(homeViewController)
|
||||
|
||||
if !BuildSettings.isNewAppLayoutActivated {
|
||||
|
||||
Reference in New Issue
Block a user