diff options
author | 2018-03-28 11:06:02 +0200 | |
---|---|---|
committer | 2018-03-28 11:06:02 +0200 | |
commit | a01ec7fe971ef863caae4c4a70df2d015f1dd62e (patch) | |
tree | 418926c79fdfb03d20412b7649cffe976d5dcc7e /src/electron/ipc-api | |
parent | mini cleanup (diff) | |
download | ferdium-app-a01ec7fe971ef863caae4c4a70df2d015f1dd62e.tar.gz ferdium-app-a01ec7fe971ef863caae4c4a70df2d015f1dd62e.tar.zst ferdium-app-a01ec7fe971ef863caae4c4a70df2d015f1dd62e.zip |
minor cleanup
Diffstat (limited to 'src/electron/ipc-api')
-rw-r--r-- | src/electron/ipc-api/settings.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/electron/ipc-api/settings.js b/src/electron/ipc-api/settings.js index 00bdc0113..3eab68a91 100644 --- a/src/electron/ipc-api/settings.js +++ b/src/electron/ipc-api/settings.js | |||
@@ -1,10 +1,6 @@ | |||
1 | import { ipcMain } from 'electron'; | 1 | import { ipcMain } from 'electron'; |
2 | 2 | ||
3 | export default (params) => { | 3 | export default (params) => { |
4 | ipcMain.on('settings', (event, args) => { | ||
5 | params.settings.set(args); | ||
6 | }); | ||
7 | |||
8 | ipcMain.on('getAppSettings', () => { | 4 | ipcMain.on('getAppSettings', () => { |
9 | params.mainWindow.webContents.send('appSettings', params.settings.all); | 5 | params.mainWindow.webContents.send('appSettings', params.settings.all); |
10 | }); | 6 | }); |