"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "ts/components/conversation/ProfileChangeNotification.tsx" between
Signal-Desktop-1.35.2.tar.gz and Signal-Desktop-1.36.1.tar.gz

About: Signal-Desktop is a cross-platform encrypted messaging service (also available for mobile devices).

ProfileChangeNotification.tsx  (Signal-Desktop-1.35.2):ProfileChangeNotification.tsx  (Signal-Desktop-1.36.1)
import React from 'react'; import React from 'react';
import { LocalizerType } from '../../types/Util'; import { LocalizerType } from '../../types/Util';
import { ConversationType } from '../../state/ducks/conversations'; import { ConversationType } from '../../state/ducks/conversations';
import { Emojify } from './Emojify';
import { import {
getStringForProfileChange, getStringForProfileChange,
ProfileNameChangeType, ProfileNameChangeType,
} from '../../util/getStringForProfileChange'; } from '../../util/getStringForProfileChange';
export interface PropsType { export interface PropsType {
change: ProfileNameChangeType; change: ProfileNameChangeType;
changedContact: ConversationType; changedContact: ConversationType;
i18n: LocalizerType; i18n: LocalizerType;
} }
export function ProfileChangeNotification(props: PropsType): JSX.Element { export function ProfileChangeNotification(props: PropsType): JSX.Element {
const { change, changedContact, i18n } = props; const { change, changedContact, i18n } = props;
const message = getStringForProfileChange(change, changedContact, i18n); const message = getStringForProfileChange(change, changedContact, i18n);
return ( return (
<div className="module-profile-change-notification"> <div className="module-profile-change-notification">
<div className="module-profile-change-notification--icon" /> <div className="module-profile-change-notification--icon" />
{message} <Emojify text={message} />
</div> </div>
); );
} }
 End of changes. 2 change blocks. 
1 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)