fix getUpdateReadyToInstallMessage

This commit is contained in:
Abhinav 2023-05-17 11:18:21 +05:30
parent 9cfd0dc4a4
commit c233719566

View file

@ -54,16 +54,16 @@ export const getUpdateReadyToInstallMessage = (
icon: <AutoAwesomeOutlinedIcon />,
title: t('UPDATE_AVAILABLE'),
content: t('UPDATE_INSTALLABLE_MESSAGE'),
proceed: {
action: () => ElectronUpdateService.updateAndRestart(),
text: t('INSTALL_NOW'),
variant: 'accent',
},
close: {
text: t('INSTALL_ON_NEXT_LAUNCH'),
variant: 'secondary',
action: () => ElectronUpdateService.updateAndRestart(),
},
proceed: {
action: () =>
ElectronUpdateService.muteUpdateNotification(updateInfo.version),
text: t('INSTALL_NOW'),
variant: 'accent',
},
});