Add verified badge to Notes to Self

This commit is contained in:
hackerbirds 2023-03-02 07:57:35 +01:00 committed by Jamie Kyle
parent 371c73377c
commit c571305d8a
9 changed files with 40 additions and 19 deletions

View file

@ -76,9 +76,10 @@ export const ContactCheckbox: FunctionComponent<PropsType> = React.memo(
const disabled = Boolean(disabledReason);
const headerName = isMe ? (
<span className={HEADER_CONTACT_NAME_CLASS_NAME}>
{i18n('noteToSelf')}
</span>
<ContactName module={HEADER_CONTACT_NAME_CLASS_NAME}
title={i18n('noteToSelf')}
isMe={isMe}
/>
) : (
<ContactName module={HEADER_CONTACT_NAME_CLASS_NAME} title={title} />
);

View file

@ -68,9 +68,11 @@ export const ContactListItem: FunctionComponent<PropsType> = React.memo(
uuid,
}) {
const headerName = isMe ? (
<span className={HEADER_CONTACT_NAME_CLASS_NAME}>
{i18n('noteToSelf')}
</span>
<ContactName
isMe={isMe}
module={HEADER_CONTACT_NAME_CLASS_NAME}
title={i18n('noteToSelf')}
/>
) : (
<ContactName
isSignalConversation={isSignalConversation({ id, uuid })}

View file

@ -106,9 +106,11 @@ export const ConversationListItem: FunctionComponent<Props> = React.memo(
const headerName = (
<>
{isMe ? (
<span className={HEADER_CONTACT_NAME_CLASS_NAME}>
{i18n('noteToSelf')}
</span>
<ContactName
module={HEADER_CONTACT_NAME_CLASS_NAME}
isMe={isMe}
title={i18n('noteToSelf')}
/>
) : (
<ContactName
module={HEADER_CONTACT_NAME_CLASS_NAME}