First-class profile name rendering

This commit is contained in:
Scott Nonnenberg 2020-07-23 18:35:32 -07:00
parent 632cd0e87e
commit d07b8e82b2
63 changed files with 1044 additions and 454 deletions

View file

@ -7,8 +7,9 @@ import { LocalizerType } from '../../types/Util';
export type PropsData = {
type: 'fromOther' | 'fromMe' | 'fromSync';
phoneNumber: string;
phoneNumber?: string;
profileName?: string;
title: string;
name?: string;
disabled: boolean;
timespan: string;
@ -27,6 +28,7 @@ export class TimerNotification extends React.Component<Props> {
name,
phoneNumber,
profileName,
title,
timespan,
type,
disabled,
@ -46,7 +48,9 @@ export class TimerNotification extends React.Component<Props> {
key="external-1"
phoneNumber={phoneNumber}
profileName={profileName}
title={title}
name={name}
i18n={i18n}
/>,
timespan,
]}