mirror of
https://github.com/oxen-io/session-android.git
synced 2025-02-20 08:58:27 +00:00
parent
0c8b2b23da
commit
102941c18c
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user