mirror of
https://github.com/oxen-io/session-android.git
synced 2025-04-21 11:31:30 +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);
|
ConversationItemFooter activeFooter = getActiveFooter(messageRecord);
|
||||||
int availableWidth = getAvailableMessageBubbleWidth(footer);
|
int availableWidth = getAvailableMessageBubbleWidth(footer);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user