mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-30 08:12:40 +00:00
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:
commit
e74d564801
1 changed files with 13 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue