RecentsDataSource: Remove InviteRecentTableViewCell dependency

Add sanity check
This commit is contained in:
giomfo
2016-04-28 16:48:09 +02:00
parent 32b61335fc
commit bc9d72b4f3
@@ -330,8 +330,11 @@
}
else
{
// Keep default implementation for other actions
[super dataSource:dataSource didRecognizeAction:actionIdentifier inCell:cell userInfo:userInfo];
// Keep default implementation for other actions if any
if ([super respondsToSelector:@selector(cell:didRecognizeAction:userInfo:)])
{
[super dataSource:dataSource didRecognizeAction:actionIdentifier inCell:cell userInfo:userInfo];
}
}
}