mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-28 23:32:41 +00:00
Merge pull request #5751 from vector-im/andy/5750_tabs_indicators
Use new activity indicators on all tabs
This commit is contained in:
commit
58768925a9
2 changed files with 4 additions and 0 deletions
|
@ -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
1
changelog.d/5750.change
Normal file
|
@ -0,0 +1 @@
|
|||
Activity Indicators: Use new activity indicators on all tabs
|
Loading…
Reference in a new issue