MM-22622 Disable at mention highligh in channel header (#4005)

This commit is contained in:
Farhan Munshi
2020-03-06 13:50:38 -05:00
committed by GitHub
parent a8430bd3af
commit 0bb573c7e0
2 changed files with 7 additions and 0 deletions

View File

@@ -190,6 +190,7 @@ exports[`channel_info_header should match snapshot 1`] = `
},
}
}
disableAtChannelMentionHighlight={true}
onChannelLinkPress={[MockFunction]}
onPermalinkPress={[MockFunction]}
textStyles={
@@ -534,6 +535,7 @@ exports[`channel_info_header should match snapshot when DM and hasGuests and is
},
}
}
disableAtChannelMentionHighlight={true}
onChannelLinkPress={[MockFunction]}
onPermalinkPress={[MockFunction]}
textStyles={
@@ -850,6 +852,7 @@ exports[`channel_info_header should match snapshot when DM and hasGuests but its
},
}
}
disableAtChannelMentionHighlight={true}
onChannelLinkPress={[MockFunction]}
onPermalinkPress={[MockFunction]}
textStyles={
@@ -1194,6 +1197,7 @@ exports[`channel_info_header should match snapshot when GM and hasGuests 1`] = `
},
}
}
disableAtChannelMentionHighlight={true}
onChannelLinkPress={[MockFunction]}
onPermalinkPress={[MockFunction]}
textStyles={
@@ -1510,6 +1514,7 @@ exports[`channel_info_header should match snapshot when is group constrained 1`]
},
}
}
disableAtChannelMentionHighlight={true}
onChannelLinkPress={[MockFunction]}
onPermalinkPress={[MockFunction]}
textStyles={
@@ -1876,6 +1881,7 @@ exports[`channel_info_header should match snapshot when public channel and hasGu
},
}
}
disableAtChannelMentionHighlight={true}
onChannelLinkPress={[MockFunction]}
onPermalinkPress={[MockFunction]}
textStyles={

View File

@@ -213,6 +213,7 @@ export default class ChannelInfoHeader extends React.PureComponent {
blockStyles={blockStyles}
value={header}
onChannelLinkPress={popToRoot}
disableAtChannelMentionHighlight={true}
/>
</View>
</TouchableHighlight>