mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-30 08:12:40 +00:00
HomeViewController: Add missing table reload.
This commit is contained in:
parent
553820619b
commit
9b1cf0fbb4
1 changed files with 4 additions and 0 deletions
|
@ -208,6 +208,8 @@ NSString *const kHomeViewControllerPublicRoomCellId = @"kHomeViewControllerPubli
|
||||||
|
|
||||||
// Report the related REST Client to retrieve public rooms
|
// Report the related REST Client to retrieve public rooms
|
||||||
[self addRestClient:mxSession.matrixRestClient];
|
[self addRestClient:mxSession.matrixRestClient];
|
||||||
|
|
||||||
|
[self.tableView reloadData];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)removeMatrixSession:(MXSession *)mxSession {
|
- (void)removeMatrixSession:(MXSession *)mxSession {
|
||||||
|
@ -215,6 +217,8 @@ NSString *const kHomeViewControllerPublicRoomCellId = @"kHomeViewControllerPubli
|
||||||
|
|
||||||
// Remove the related REST Client
|
// Remove the related REST Client
|
||||||
[self removeRestClient:mxSession.matrixRestClient];
|
[self removeRestClient:mxSession.matrixRestClient];
|
||||||
|
|
||||||
|
[self.tableView reloadData];
|
||||||
}
|
}
|
||||||
|
|
||||||
#pragma mark -
|
#pragma mark -
|
||||||
|
|
Loading…
Reference in a new issue