diff --git a/native/chat/inner-robotext-message.react.js b/native/chat/inner-robotext-message.react.js --- a/native/chat/inner-robotext-message.react.js +++ b/native/chat/inner-robotext-message.react.js @@ -79,16 +79,9 @@ }); }, [robotextWithENSNames, activeTheme, threadID, styles.robotext]); - const viewStyle = [styles.robotextContainer]; - if (!__DEV__) { - // We don't force view height in dev mode because we - // want to measure it in Message to see if it's correct - viewStyle.push({ height: item.contentHeight }); - } - return ( - + {textParts} diff --git a/native/chat/robotext-message.react.js b/native/chat/robotext-message.react.js --- a/native/chat/robotext-message.react.js +++ b/native/chat/robotext-message.react.js @@ -196,12 +196,19 @@ const contentAndHeaderOpacity = useContentAndHeaderOpacity(item); + const viewStyle = {}; + if (!__DEV__) { + // We don't force view height in dev mode because we + // want to measure it in Message to see if it's correct + viewStyle.height = item.contentHeight; + } + return ( {timestamp} - + + {inlineEngagement} - {inlineEngagement} ); }