Merge pull request #5751 from vector-im/andy/5750_tabs_indicators

Use new activity indicators on all tabs
This commit is contained in:
Anderas 2022-03-07 11:24:29 +00:00 committed by GitHub
commit 58768925a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View file

@ -241,6 +241,7 @@ final class TabBarCoordinator: NSObject, TabBarCoordinatorType {
let favouritesViewController: FavouritesViewController = FavouritesViewController.instantiate()
favouritesViewController.tabBarItem.tag = Int(TABBAR_FAVOURITES_INDEX)
favouritesViewController.accessibilityLabel = VectorL10n.titleFavourites
favouritesViewController.indicatorPresenter = UserIndicatorPresenterWrapper(presenter: indicatorPresenter)
return favouritesViewController
}
@ -248,6 +249,7 @@ final class TabBarCoordinator: NSObject, TabBarCoordinatorType {
let peopleViewController: PeopleViewController = PeopleViewController.instantiate()
peopleViewController.tabBarItem.tag = Int(TABBAR_PEOPLE_INDEX)
peopleViewController.accessibilityLabel = VectorL10n.titlePeople
peopleViewController.indicatorPresenter = UserIndicatorPresenterWrapper(presenter: indicatorPresenter)
return peopleViewController
}
@ -255,6 +257,7 @@ final class TabBarCoordinator: NSObject, TabBarCoordinatorType {
let roomsViewController: RoomsViewController = RoomsViewController.instantiate()
roomsViewController.tabBarItem.tag = Int(TABBAR_ROOMS_INDEX)
roomsViewController.accessibilityLabel = VectorL10n.titleRooms
roomsViewController.indicatorPresenter = UserIndicatorPresenterWrapper(presenter: indicatorPresenter)
return roomsViewController
}

1
changelog.d/5750.change Normal file
View file

@ -0,0 +1 @@
Activity Indicators: Use new activity indicators on all tabs