Fix bubble cell height for cells with attachment view and reactions.

This commit is contained in:
SBiOSoftWhare
2019-06-18 18:36:22 +02:00
parent 0080863a0b
commit 3042231d37
6 changed files with 100 additions and 0 deletions
@@ -62,4 +62,16 @@
}
}
+ (CGFloat)heightForCellData:(MXKCellData*)cellData withMaximumWidth:(CGFloat)maxWidth
{
CGFloat rowHeight = [self attachmentBubbleCellHeightForCellData:cellData withMaximumWidth:maxWidth];
if (rowHeight <= 0)
{
rowHeight = [super heightForCellData:cellData withMaximumWidth:maxWidth];
}
return rowHeight;
}
@end