mirror of
https://github.com/oxen-io/session-android.git
synced 2025-10-25 22:38:49 +00:00
@@ -259,7 +259,9 @@ public class ConversationItem extends LinearLayout
|
|||||||
int quoteWidth = quoteView.getMeasuredWidth();
|
int quoteWidth = quoteView.getMeasuredWidth();
|
||||||
|
|
||||||
int availableWidth;
|
int availableWidth;
|
||||||
if (hasThumbnail(messageRecord)) {
|
if (hasAudio(messageRecord)) {
|
||||||
|
availableWidth = audioViewStub.get().getMeasuredWidth();
|
||||||
|
} else if (hasThumbnail(messageRecord)) {
|
||||||
availableWidth = mediaThumbnailStub.get().getMeasuredWidth();
|
availableWidth = mediaThumbnailStub.get().getMeasuredWidth();
|
||||||
} else {
|
} else {
|
||||||
availableWidth = bodyBubble.getMeasuredWidth() - bodyBubble.getPaddingLeft() - bodyBubble.getPaddingRight();
|
availableWidth = bodyBubble.getMeasuredWidth() - bodyBubble.getPaddingLeft() - bodyBubble.getPaddingRight();
|
||||||
|
|||||||
Reference in New Issue
Block a user