Merge commit '518653f549960ea9669ce15ff7eb9c7b0d0bb2d1'

This commit is contained in:
Peter Iakovlev
2019-02-15 17:31:48 +04:00
23 changed files with 372 additions and 138 deletions

View File

@@ -445,7 +445,7 @@ class ChatMessageBubbleItemNode: ChatMessageItemView {
tmpWidth -= 38.0
}
} else {
tmpWidth = isInlinePlayableVideo ? min(570.0, baseWidth - 36.0) : layoutConstants.bubble.maximumWidthFill.widthFor(baseWidth)
tmpWidth = layoutConstants.bubble.maximumWidthFill.widthFor(baseWidth)
if needShareButton && tmpWidth + 32.0 > baseWidth {
tmpWidth = baseWidth - 32.0
}