mirror of
https://github.com/oxen-io/session-android.git
synced 2025-01-11 18:53:40 +00:00
fix text got cut off when sending an image with a text message
This commit is contained in:
parent
3f69aabf85
commit
df15743c04
@ -290,6 +290,10 @@ public class ConversationItem extends LinearLayout
|
||||
}
|
||||
}
|
||||
|
||||
if (hasThumbnail(messageRecord) && messageRecord.getDisplayBody(context).length() > 0) {
|
||||
ViewUtil.updateLayoutParams(bodyText, getAvailableMessageBubbleWidth(bodyText), ViewGroup.LayoutParams.WRAP_CONTENT);
|
||||
}
|
||||
|
||||
ConversationItemFooter activeFooter = getActiveFooter(messageRecord);
|
||||
int availableWidth = getAvailableMessageBubbleWidth(footer);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user