Room member details: Add devices sections

- the device cell height is now adjustable
This commit is contained in:
giomfo
2016-11-28 17:16:21 +01:00
parent 4f1e079ab6
commit 9c0dd78df2
4 changed files with 23 additions and 11 deletions
@@ -746,7 +746,10 @@
}
else if (indexPath.section == devicesIndex)
{
return [DeviceTableViewCell cellHeight];
if (indexPath.row < devicesArray.count)
{
return [DeviceTableViewCell cellHeightWithDeviceInfo:devicesArray[indexPath.row] andCellWidth:self.tableView.frame.size.width];
}
}
return TABLEVIEW_ROW_CELL_HEIGHT;