Improve tab switching performance

This commit is contained in:
ismailgulek 2021-10-12 22:56:52 +03:00
parent ed3645f1db
commit 6a047f98fb
No known key found for this signature in database
GPG key ID: E96336D42D9470A9

View file

@ -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