"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "js/views/safety_number_change_dialog_view.js" 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).

safety_number_change_dialog_view.js  (Signal-Desktop-1.35.2):safety_number_change_dialog_view.js  (Signal-Desktop-1.36.1)
/* global Whisper, Signal */ /* global Whisper, Signal */
// eslint-disable-next-line func-names // eslint-disable-next-line func-names
(function() { (function() {
'use strict';
window.Whisper = window.Whisper || {}; window.Whisper = window.Whisper || {};
Whisper.SafetyNumberChangeDialogView = Whisper.View.extend({ Whisper.SafetyNumberChangeDialogView = Whisper.View.extend({
templateName: 'safety-number-change-dialog', templateName: 'safety-number-change-dialog',
initialize(options) { initialize(options) {
const dialog = new Whisper.ReactWrapperView({ const dialog = new Whisper.ReactWrapperView({
Component: window.Signal.Components.SafetyNumberChangeDialog, Component: window.Signal.Components.SafetyNumberChangeDialog,
props: { props: {
confirmText: options.confirmText, confirmText: options.confirmText,
contacts: options.contacts.map(contact => contact.cachedProps), contacts: options.contacts.map(contact => contact.cachedProps),
 End of changes. 1 change blocks. 
2 lines changed or deleted 0 lines changed or added

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