Minor tweak

This commit is contained in:
Gerzon Z 2021-10-29 12:16:52 -04:00
parent ffb17d603e
commit a1c8ce0c7f
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ const MessageTouchable = React.memo((props: IMessageTouchable & IMessage) => {
return ( return (
<Touchable <Touchable
onLongPress={onLongPress} onLongPress={onLongPress}
onPress={() => (props.type !== 'discussion-created' ? onPress() : onDiscussionPress())} onPress={() => (props.type === 'discussion-created' ? onDiscussionPress() : onPress())}
disabled={(props.isInfo && !props.isThreadReply) || props.archived || props.isTemp} disabled={(props.isInfo && !props.isThreadReply) || props.archived || props.isTemp}
style={{ backgroundColor: props.highlighted ? themes[props.theme].headerBackground : null }}> style={{ backgroundColor: props.highlighted ? themes[props.theme].headerBackground : null }}>
<View> <View>