mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-02 22:26:59 +02:00
GroupParticipantsViewController: support the self-sizing cells,
and the self-sizing section headers. vector-im/riot-meta#115
This commit is contained in:
@@ -88,6 +88,7 @@
|
||||
self.groupsTableView.estimatedRowHeight = 74;
|
||||
self.groupsTableView.sectionHeaderHeight = UITableViewAutomaticDimension;
|
||||
self.groupsTableView.estimatedSectionHeaderHeight = 30;
|
||||
self.groupsTableView.estimatedSectionFooterHeight = 0;
|
||||
|
||||
// Observe UIApplicationDidEnterBackgroundNotification to refresh bubbles when app leaves the foreground state.
|
||||
UIApplicationDidEnterBackgroundNotificationObserver = [[NSNotificationCenter defaultCenter] addObserverForName:UIApplicationDidEnterBackgroundNotification object:nil queue:[NSOperationQueue mainQueue] usingBlock:^(NSNotification *notif) {
|
||||
@@ -428,6 +429,8 @@
|
||||
|
||||
- (void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath;
|
||||
{
|
||||
[super tableView:tableView willDisplayCell:cell forRowAtIndexPath:indexPath];
|
||||
|
||||
cell.backgroundColor = kRiotPrimaryBgColor;
|
||||
|
||||
// Update the selected background view
|
||||
|
||||
Reference in New Issue
Block a user