[MM-29677] fix download complete notification not appearing (#1388)
This commit is contained in:
parent
67179c0b31
commit
9ceb38402a
|
@ -632,7 +632,7 @@ export default class MainPage extends React.Component {
|
||||||
const title = process.platform === 'win32' ? item.serverInfo.name : 'Download Complete';
|
const title = process.platform === 'win32' ? item.serverInfo.name : 'Download Complete';
|
||||||
const notificationBody = process.platform === 'win32' ? `Download Complete \n ${item.fileName}` : item.fileName;
|
const notificationBody = process.platform === 'win32' ? `Download Complete \n ${item.fileName}` : item.fileName;
|
||||||
|
|
||||||
await Utils.dispatchNotification(title, notificationBody, false, () => {
|
await Utils.dispatchNotification(title, notificationBody, false, {}, () => {
|
||||||
shell.showItemInFolder(item.path.normalize());
|
shell.showItemInFolder(item.path.normalize());
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue