[IMPROVE] Deleted thread reply redirects to thread (#2840)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
This commit is contained in:
parent
1f6385c898
commit
cecffdb93c
|
@ -119,7 +119,7 @@ const MessageTouchable = React.memo((props) => {
|
||||||
<Touchable
|
<Touchable
|
||||||
onLongPress={onLongPress}
|
onLongPress={onLongPress}
|
||||||
onPress={onPress}
|
onPress={onPress}
|
||||||
disabled={props.isInfo || props.archived || props.isTemp}
|
disabled={(props.isInfo && !props.isThreadReply) || props.archived || props.isTemp}
|
||||||
>
|
>
|
||||||
<View>
|
<View>
|
||||||
<Message {...props} />
|
<Message {...props} />
|
||||||
|
@ -132,6 +132,7 @@ MessageTouchable.displayName = 'MessageTouchable';
|
||||||
MessageTouchable.propTypes = {
|
MessageTouchable.propTypes = {
|
||||||
hasError: PropTypes.bool,
|
hasError: PropTypes.bool,
|
||||||
isInfo: PropTypes.bool,
|
isInfo: PropTypes.bool,
|
||||||
|
isThreadReply: PropTypes.bool,
|
||||||
isTemp: PropTypes.bool,
|
isTemp: PropTypes.bool,
|
||||||
archived: PropTypes.bool
|
archived: PropTypes.bool
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue