mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-20 00:18:45 +01:00
First-class profile name rendering
This commit is contained in:
@@ -6,8 +6,9 @@ import { LocalizerType } from '../../types/Util';
|
||||
|
||||
interface ContactType {
|
||||
id: string;
|
||||
phoneNumber: string;
|
||||
phoneNumber?: string;
|
||||
profileName?: string;
|
||||
title: string;
|
||||
name?: string;
|
||||
}
|
||||
|
||||
@@ -48,7 +49,9 @@ export class SafetyNumberNotification extends React.Component<Props> {
|
||||
name={contact.name}
|
||||
profileName={contact.profileName}
|
||||
phoneNumber={contact.phoneNumber}
|
||||
title={contact.title}
|
||||
module="module-safety-number-notification__contact"
|
||||
i18n={i18n}
|
||||
/>
|
||||
</span>,
|
||||
]}
|
||||
|
||||
Reference in New Issue
Block a user