1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00

The notification of 'Copy to Clipboard' must be slient

This commit is contained in:
Rokt33r
2016-03-09 19:43:34 +09:00
parent d4f8d1498d
commit 6907cf9972

View File

@@ -29,7 +29,6 @@ function hideFinder () {
function notify (title, options) {
if (process.platform === 'win32') {
options.icon = path.join('file://', global.__dirname, '../../resources/app.png')
options.silent = false
}
return new window.Notification(title, options)
}
@@ -96,7 +95,8 @@ class FinderMain extends React.Component {
ipcRenderer.send('copy-finder')
notify('Saved to Clipboard!', {
body: 'Paste it wherever you want!'
body: 'Paste it wherever you want!',
silent: true
})
hideFinder()
}