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

FinderのActivity logをちゃんと取ってくる

This commit is contained in:
Rokt33r
2015-12-03 07:59:47 +09:00
parent ca7b9c786a
commit 364917c910
4 changed files with 20 additions and 4 deletions

View File

@@ -11,7 +11,7 @@ import _ from 'lodash'
import dataStore from 'boost/dataStore'
const electron = require('electron')
const { remote, clipboard } = electron
const { remote, clipboard, ipcRenderer } = electron
var hideFinder = remote.getGlobal('hideFinder')
@@ -64,6 +64,7 @@ class FinderMain extends React.Component {
let { activeArticle } = this.props
clipboard.writeText(activeArticle.content)
ipcRenderer.send('copy-finder')
notify('Saved to Clipboard!', {
body: 'Paste it wherever you want!'
})