mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 17:12:45 +02:00
Fix cell layout when thread root is a poll
This commit is contained in:
@@ -130,6 +130,13 @@ class SizableBaseBubbleCell: BaseBubbleCell, SizableBaseBubbleCellType {
|
||||
let reactionsHeight = self.reactionsViewSizer.height(for: bubbleReactionsViewModel, fittingWidth: reactionWidth)
|
||||
height+=reactionsHeight
|
||||
}
|
||||
|
||||
// Add thread summary view height if needed
|
||||
if sizingView is BubbleCellThreadSummaryDisplayable,
|
||||
let roomBubbleCellData = cellData as? RoomBubbleCellData,
|
||||
roomBubbleCellData.hasThreadRoot {
|
||||
height += RoomBubbleCellLayout.threadSummaryViewHeight
|
||||
}
|
||||
|
||||
return height
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user