SizableBaseBubbleCell: Add workaround for reactions height miscalculation.

This commit is contained in:
SBiOSoftWhare
2022-02-08 07:02:53 +01:00
parent 565a90c76d
commit c9075dda57
@@ -131,6 +131,11 @@ class SizableBaseBubbleCell: BaseBubbleCell, SizableBaseBubbleCellType {
let reactionsHeight = self.reactionsViewSizer.height(for: bubbleReactionsViewModel, fittingWidth: reactionWidth)
height+=reactionsHeight
// FIXME: Sized is always 24.0 pts too high when the reaction height is 49.0 pts high
if height > 48.0 {
height-=24
}
}
// Add thread summary view height if needed