Prepare UX Rework:

- Fix flickering during sticky headers update
This commit is contained in:
Giom Foret
2017-04-20 10:38:13 +02:00
parent 635e09f6bb
commit 5ac1af0b52
3 changed files with 192 additions and 118 deletions
+1 -3
View File
@@ -28,8 +28,6 @@
#import "ContactTableViewCell.h"
#define PEOPLE_VC_STICKY_SECTION_HEADER_HEIGHT 30.0
@interface PeopleViewController ()
{
NSInteger directRoomsSectionNumber;
@@ -300,7 +298,7 @@
- (UIView *)tableView:(UITableView *)tableView viewForStickyHeaderInSection:(NSInteger)section
{
CGRect frame = [tableView rectForHeaderInSection:section];
frame.size.height = PEOPLE_VC_STICKY_SECTION_HEADER_HEIGHT;
frame.size.height = self.stickyHeaderHeight;
if (section >= directRoomsSectionNumber)
{