Fix quote width in outgoing messages with audio.

Fixes #11911
This commit is contained in:
Rashad Sookram
2022-01-24 15:29:19 -05:00
committed by Alex Hart
parent 1641d501c9
commit c0ed6b1d41

View File

@@ -513,6 +513,8 @@ public final class ConversationItem extends RelativeLayout implements BindableCo
availableWidth = bodyBubble.getMeasuredWidth() - bodyBubble.getPaddingLeft() - bodyBubble.getPaddingRight();
}
availableWidth = Math.min(availableWidth, getMaxBubbleWidth());
availableWidth -= ViewUtil.getLeftMargin(forView) + ViewUtil.getRightMargin(forView);
return availableWidth;