Unverified Commit cecffdb9 authored by Anant Bhasin's avatar Anant Bhasin Committed by GitHub
Browse files

[IMPROVE] Deleted thread reply redirects to thread (#2840)


Co-authored-by: default avatarDiego Mello <diegolmello@gmail.com>
parent 1f6385c8
......@@ -119,7 +119,7 @@ const MessageTouchable = React.memo((props) => {
<Touchable
onLongPress={onLongPress}
onPress={onPress}
disabled={props.isInfo || props.archived || props.isTemp}
disabled={(props.isInfo && !props.isThreadReply) || props.archived || props.isTemp}
>
<View>
<Message {...props} />
......@@ -132,6 +132,7 @@ MessageTouchable.displayName = 'MessageTouchable';
MessageTouchable.propTypes = {
hasError: PropTypes.bool,
isInfo: PropTypes.bool,
isThreadReply: PropTypes.bool,
isTemp: PropTypes.bool,
archived: PropTypes.bool
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment