Skip to content

Commit

Permalink
Set RoomInvitation cell height only for those type of cells.
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Sein <[email protected]>
  • Loading branch information
Ivansss committed Jun 21, 2024
1 parent 6419c6b commit d48a760
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NextcloudTalk/RoomsTableViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -1270,7 +1270,7 @@ - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger

- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
{
if (indexPath.section == kRoomsSectionPendingFederationInvitation) {
if (tableView == self.tableView && indexPath.section == kRoomsSectionPendingFederationInvitation) {
return RoomInvitationViewCell.CellHeight;
}

Expand Down

0 comments on commit d48a760

Please sign in to comment.