mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-07-07 14:35:29 +01:00
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user