[MM-29677] fix download complete notification not appearing (#1388)
This commit is contained in:
@@ -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());
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user