Show "you" instead of "me" in the group members list
This commit is contained in:
parent
12457d47a3
commit
31f219690a
2 changed files with 1 additions and 5 deletions
|
@ -255,10 +255,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"me": {
|
|
||||||
"message": "Me",
|
|
||||||
"description": "The label for yourself when shown in a group member list"
|
|
||||||
},
|
|
||||||
"view": {
|
"view": {
|
||||||
"message": "View",
|
"message": "View",
|
||||||
"description": "Used as a label on a button allowing user to see more information"
|
"description": "Used as a label on a button allowing user to see more information"
|
||||||
|
|
|
@ -55,7 +55,7 @@ export class ContactListItem extends React.Component<Props> {
|
||||||
} = this.props;
|
} = this.props;
|
||||||
|
|
||||||
const title = name ? name : phoneNumber;
|
const title = name ? name : phoneNumber;
|
||||||
const displayName = isMe ? i18n('me') : title;
|
const displayName = isMe ? i18n('you') : title;
|
||||||
|
|
||||||
const profileElement =
|
const profileElement =
|
||||||
!isMe && profileName && !name ? (
|
!isMe && profileName && !name ? (
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue