mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-24 02:25:19 +00:00
parent
0c8b2b23da
commit
102941c18c
@ -259,7 +259,9 @@ public class ConversationItem extends LinearLayout
|
||||
int quoteWidth = quoteView.getMeasuredWidth();
|
||||
|
||||
int availableWidth;
|
||||
if (hasThumbnail(messageRecord)) {
|
||||
if (hasAudio(messageRecord)) {
|
||||
availableWidth = audioViewStub.get().getMeasuredWidth();
|
||||
} else if (hasThumbnail(messageRecord)) {
|
||||
availableWidth = mediaThumbnailStub.get().getMeasuredWidth();
|
||||
} else {
|
||||
availableWidth = bodyBubble.getMeasuredWidth() - bodyBubble.getPaddingLeft() - bodyBubble.getPaddingRight();
|
||||
|
Loading…
Reference in New Issue
Block a user