ICU-633 Added tilde to channel shortlink to match web app (#1391)
This commit is contained in:
parent
29705d0715
commit
05587d789a
1 changed files with 2 additions and 2 deletions
|
|
@ -63,7 +63,7 @@ export default class ChannelLink extends React.PureComponent {
|
|||
const channel = this.state.channel;
|
||||
|
||||
if (!channel) {
|
||||
return <Text style={this.props.textStyle}>{'~' + this.props.channelName}</Text>;
|
||||
return <Text style={this.props.textStyle}>{`~${this.props.channelName}`}</Text>;
|
||||
}
|
||||
|
||||
const suffix = this.props.channelName.substring(channel.name.length);
|
||||
|
|
@ -74,7 +74,7 @@ export default class ChannelLink extends React.PureComponent {
|
|||
style={this.props.linkStyle}
|
||||
onPress={this.handlePress}
|
||||
>
|
||||
{channel.display_name}
|
||||
{`~${channel.display_name}`}
|
||||
</Text>
|
||||
{suffix}
|
||||
</Text>
|
||||
|
|
|
|||
Loading…
Reference in a new issue