Bug Fix - People Tab: The contacts list display is wrong in case of logout/login

This commit is contained in:
Giom Foret
2017-04-25 10:46:16 +02:00
parent fe89226b08
commit aa2afaea57
+11 -1
View File
@@ -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