mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-29 07:42:40 +00:00
Bug Fix: Room members: Swipe mode is not available on iphone 5c iOS 8 #70
This commit is contained in:
parent
3b1dadcb5a
commit
87ad785eda
2 changed files with 5 additions and 5 deletions
|
@ -108,11 +108,6 @@
|
|||
|
||||
#pragma mark - UITableView delegate
|
||||
|
||||
- (NSArray *)tableView:(UITableView *)tableView editActionsForRowAtIndexPath:(NSIndexPath *)indexPath
|
||||
{
|
||||
return [[NSMutableArray alloc] init];
|
||||
}
|
||||
|
||||
- (void)customizeContactCell:(ContactTableViewCell*)contactTableViewCell atIndexPath:(NSIndexPath *)indexPath
|
||||
{
|
||||
if (indexPath.section == participantsSection)
|
||||
|
|
|
@ -607,6 +607,11 @@
|
|||
return cell;
|
||||
}
|
||||
|
||||
- (void)tableView:(UITableView*)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath*)indexPath
|
||||
{
|
||||
// iOS8 requires this method to enable editing (see editActionsForRowAtIndexPath).
|
||||
}
|
||||
|
||||
#pragma mark - UITableView delegate
|
||||
|
||||
- (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section
|
||||
|
|
Loading…
Reference in a new issue