mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
fix crash of refresh data in ChatConversationView
This commit is contained in:
parent
0573560381
commit
5e1341d7e0
1 changed files with 2 additions and 0 deletions
|
|
@ -141,6 +141,8 @@ static UICompositeViewDescription *compositeDescription = nil;
|
|||
- (void)refreshData {
|
||||
[_tableController refreshData];
|
||||
[refreshControl endRefreshing];
|
||||
if (_tableController.totalNumberOfItems == 0)
|
||||
return;
|
||||
[_tableController loadData];
|
||||
[_tableController.tableView scrollToRowAtIndexPath:[NSIndexPath indexPathForRow:_tableController.currentIndex inSection:0]
|
||||
atScrollPosition:UITableViewScrollPositionTop
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue