forked from Ivasoft/mattermost-mobile
MM-22622 Disable at mention highligh in channel header (#4005)
This commit is contained in:
@@ -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={
|
||||
|
||||
@@ -213,6 +213,7 @@ export default class ChannelInfoHeader extends React.PureComponent {
|
||||
blockStyles={blockStyles}
|
||||
value={header}
|
||||
onChannelLinkPress={popToRoot}
|
||||
disableAtChannelMentionHighlight={true}
|
||||
/>
|
||||
</View>
|
||||
</TouchableHighlight>
|
||||
|
||||
Reference in New Issue
Block a user