diff --git a/native/chat/composed-message.react.js b/native/chat/composed-message.react.js --- a/native/chat/composed-message.react.js +++ b/native/chat/composed-message.react.js @@ -73,9 +73,15 @@ const alignStyle = isViewer ? styles.rightChatBubble : styles.leftChatBubble; + + let containerMarginBottom = 5; + if (item.endsCluster) { + containerMarginBottom = clusterEndHeight; + } + const containerStyle = [ styles.alignment, - { marginBottom: 5 + (item.endsCluster ? clusterEndHeight : 0) }, + { marginBottom: containerMarginBottom }, ]; const messageBoxStyle = { maxWidth: composedMessageMaxWidth };