Merge pull request #284 from vector-im/vector_ios_282

BugFix: Room member details: only the "start chat" text is clickable,…
This commit is contained in:
giomfo 2016-04-29 14:06:17 +02:00
commit e74d564801

View file

@ -501,6 +501,19 @@
return cell;
}
#pragma mark - TableView delegate
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(nonnull NSIndexPath *)indexPath
{
UITableViewCell *selectedCell = [tableView cellForRowAtIndexPath:indexPath];
if (selectedCell && [selectedCell isKindOfClass:TableViewCellWithButton.class])
{
TableViewCellWithButton *cell = (TableViewCellWithButton*)selectedCell;
[self onActionButtonPressed:cell.mxkButton];
}
}
#pragma mark - Action
- (void)onActionButtonPressed:(id)sender