SizableBaseBubbleCell: Remove reactions height fix.

This commit is contained in:
SBiOSoftWhare
2022-02-08 10:10:24 +01:00
parent e9ce1969c1
commit 330a93e637
@@ -15,6 +15,7 @@
*/
import UIKit
import MatrixSDK
@objc protocol SizableBaseBubbleCellType: BaseBubbleCellType {
static func sizingViewHeightHashValue(from bubbleCellData: MXKRoomBubbleCellData) -> Int
@@ -131,11 +132,6 @@ 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