mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Update muted icon in conversation list
This commit is contained in:
@@ -3,7 +3,10 @@
|
||||
|
||||
import React, { FunctionComponent } from 'react';
|
||||
|
||||
import { BaseConversationListItem } from './BaseConversationListItem';
|
||||
import {
|
||||
BaseConversationListItem,
|
||||
HEADER_CONTACT_NAME_CLASS_NAME,
|
||||
} from './BaseConversationListItem';
|
||||
import { ConversationType } from '../../state/ducks/conversations';
|
||||
import { LocalizerType } from '../../types/Util';
|
||||
import { ContactName } from '../conversation/ContactName';
|
||||
@@ -52,9 +55,11 @@ export const ContactListItem: FunctionComponent<PropsType> = React.memo(
|
||||
unblurredAvatarPath,
|
||||
}) {
|
||||
const headerName = isMe ? (
|
||||
i18n('noteToSelf')
|
||||
<span className={HEADER_CONTACT_NAME_CLASS_NAME}>
|
||||
{i18n('noteToSelf')}
|
||||
</span>
|
||||
) : (
|
||||
<ContactName title={title} />
|
||||
<ContactName module={HEADER_CONTACT_NAME_CLASS_NAME} title={title} />
|
||||
);
|
||||
|
||||
const messageText =
|
||||
|
||||
Reference in New Issue
Block a user