"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "ts/components/conversation/ProfileChangeNotification.stories.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.stories.tsx  (Signal-Desktop-1.35.2):ProfileChangeNotification.stories.tsx  (Signal-Desktop-1.36.1)
skipping to change at line 22 skipping to change at line 22
const i18n = setupI18n('en', enMessages); const i18n = setupI18n('en', enMessages);
storiesOf('Components/Conversation/ProfileChangeNotification', module) storiesOf('Components/Conversation/ProfileChangeNotification', module)
.add('From contact', () => { .add('From contact', () => {
return ( return (
<ProfileChangeNotification <ProfileChangeNotification
i18n={i18n} i18n={i18n}
changedContact={{ changedContact={{
id: 'some-guid', id: 'some-guid',
type: 'direct', type: 'direct',
title: 'John', title: 'Mr. Fire 🔥',
name: 'John', name: 'Mr. Fire 🔥',
lastUpdated: Date.now(), lastUpdated: Date.now(),
}} }}
change={{ change={{
type: 'name', type: 'name',
oldName: 'John Old', oldName: 'Mr. Fire 🔥 Old',
newName: 'John New', newName: 'Mr. Fire 🔥 New',
}} }}
/> />
); );
}) })
.add('From non-contact', () => { .add('From non-contact', () => {
return ( return (
<ProfileChangeNotification <ProfileChangeNotification
i18n={i18n} i18n={i18n}
changedContact={{ changedContact={{
id: 'some-guid', id: 'some-guid',
type: 'direct', type: 'direct',
title: 'John', title: 'Mr. Fire 🔥',
lastUpdated: Date.now(), lastUpdated: Date.now(),
}} }}
change={{ change={{
type: 'name', type: 'name',
oldName: 'John Old', oldName: 'Mr. Fire 🔥 Old',
newName: 'John New', newName: 'Mr. Fire 🔥 New',
}} }}
/> />
); );
}); });
 End of changes. 4 change blocks. 
7 lines changed or deleted 7 lines changed or added

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