RoomBubbleCellData: Add additionalContentHeight property to cache additional views height like reactions view and read receipts container.

This commit is contained in:
SBiOSoftWhare
2019-06-18 18:30:39 +02:00
parent 3edf3c4578
commit ccdb278611
2 changed files with 112 additions and 0 deletions
@@ -65,4 +65,19 @@ typedef NS_ENUM(NSInteger, RoomBubbleCellDataTag)
*/
@property(nonatomic, readonly) NSInteger selectedComponentIndex;
/**
Return additional content height (read receipts, reactions).
*/
@property(nonatomic, readonly) CGFloat additionalContentHeight;
/**
Indicate to update additional content height.
*/
- (void)setNeedsUpdateAdditionalContentHeight;
/**
Update additional content height if needed.
*/
- (void)updateAdditionalContentHeightIfNeeded;
@end