mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-29 07:42:40 +00:00
Improve tab switching performance
This commit is contained in:
parent
ed3645f1db
commit
6a047f98fb
1 changed files with 2 additions and 1 deletions
|
@ -26,10 +26,11 @@
|
|||
/**
|
||||
List the different modes used to prepare the recents data source.
|
||||
Each mode corresponds to an application tab: Home, Favourites, People and Rooms.
|
||||
Used as the tag of UITableView, starting from 1 in order to avoid collision with default tag of UIView.
|
||||
*/
|
||||
typedef NS_ENUM(NSInteger, RecentsDataSourceMode)
|
||||
{
|
||||
RecentsDataSourceModeHome,
|
||||
RecentsDataSourceModeHome = 1,
|
||||
RecentsDataSourceModeFavourites,
|
||||
RecentsDataSourceModePeople,
|
||||
RecentsDataSourceModeRooms
|
||||
|
|
Loading…
Reference in a new issue