"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "ts/services/updateListener.ts" 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).

updateListener.ts  (Signal-Desktop-1.35.2):updateListener.ts  (Signal-Desktop-1.36.1)
skipping to change at line 16 skipping to change at line 16
showUpdateDialog: (x: Dialogs) => ShowUpdateDialogAction; showUpdateDialog: (x: Dialogs) => ShowUpdateDialogAction;
}; };
type EventsType = { type EventsType = {
once: (ev: string, f: () => void) => void; once: (ev: string, f: () => void) => void;
}; };
export function initializeUpdateListener( export function initializeUpdateListener(
updatesActions: UpdatesActions, updatesActions: UpdatesActions,
events: EventsType events: EventsType
) { ): void {
ipcRenderer.on('show-update-dialog', (_, dialogType: Dialogs) => { ipcRenderer.on('show-update-dialog', (_, dialogType: Dialogs) => {
updatesActions.showUpdateDialog(dialogType); updatesActions.showUpdateDialog(dialogType);
}); });
events.once('snooze-update', () => { events.once('snooze-update', () => {
updatesActions.showUpdateDialog(Dialogs.Update); updatesActions.showUpdateDialog(Dialogs.Update);
}); });
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

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