mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-23 01:52:44 +02:00
Bug Fix - People Tab: The contacts list display is wrong in case of logout/login
This commit is contained in:
@@ -69,7 +69,7 @@
|
||||
// Register table view cell for contacts.
|
||||
[self.recentsTableView registerClass:ContactTableViewCell.class forCellReuseIdentifier:ContactTableViewCell.defaultReuseIdentifier];
|
||||
|
||||
// Redirect table data source
|
||||
// Change the table data source. It must be the people view controller itself.
|
||||
self.recentsTableView.dataSource = self;
|
||||
|
||||
self.enableStickyHeaders = YES;
|
||||
@@ -110,6 +110,16 @@
|
||||
[super viewWillDisappear:animated];
|
||||
}
|
||||
|
||||
#pragma mark -
|
||||
|
||||
- (void)displayList:(MXKRecentsDataSource *)listDataSource
|
||||
{
|
||||
[super displayList:listDataSource];
|
||||
|
||||
// Change the table data source. It must be the people view controller itself.
|
||||
self.recentsTableView.dataSource = self;
|
||||
}
|
||||
|
||||
#pragma mark - MXKDataSourceDelegate
|
||||
|
||||
- (Class<MXKCellRendering>)cellViewClassForCellData:(MXKCellData*)cellData
|
||||
|
||||
Reference in New Issue
Block a user