mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-04 06:58:20 +02:00
Prepare UX Rework:
- Fix flickering during sticky headers update
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user