diff --git a/native/chat/inner-text-message.react.js b/native/chat/inner-text-message.react.js --- a/native/chat/inner-text-message.react.js +++ b/native/chat/inner-text-message.react.js @@ -8,6 +8,7 @@ import { colorIsDark } from 'lib/shared/thread-utils'; import GestureTouchableOpacity from '../components/gesture-touchable-opacity.react'; +import { MarkdownContext } from '../markdown/markdown-context'; import Markdown from '../markdown/markdown.react'; import { useSelector } from '../redux/redux-utils'; import { useColors, colors } from '../themes/colors'; @@ -108,11 +109,17 @@ }; }, [item.messageInfo.id]); + //eslint-disable-next-line no-unused-vars + const markdownContext = React.useContext(MarkdownContext); + const innerMessagePress = () => { + props.onPress(); + }; + const message = ( { return ( - - {text} - + + {text} + ); }, [onSpoilerClick, styleBasedOnSpoilerState, text]);