diff options
author | 2017-10-19 10:56:58 +0200 | |
---|---|---|
committer | 2017-10-19 10:56:58 +0200 | |
commit | 9479bf3db965bd8cb4d7c2318204e87d24bc7a56 (patch) | |
tree | 43bc1d78960561f16bd9ef072cb8a98230b02870 | |
parent | remove unused file (diff) | |
download | ferdium-app-9479bf3db965bd8cb4d7c2318204e87d24bc7a56.tar.gz ferdium-app-9479bf3db965bd8cb4d7c2318204e87d24bc7a56.tar.zst ferdium-app-9479bf3db965bd8cb4d7c2318204e87d24bc7a56.zip |
remove unnecessary platform check
-rw-r--r-- | src/electron/ipc-api/settings.js | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/electron/ipc-api/settings.js b/src/electron/ipc-api/settings.js index 1d7eafa6c..995b28fbd 100644 --- a/src/electron/ipc-api/settings.js +++ b/src/electron/ipc-api/settings.js | |||
@@ -1,10 +1,7 @@ | |||
1 | import { ipcMain } from 'electron'; | 1 | import { ipcMain } from 'electron'; |
2 | 2 | ||
3 | export default (params) => { | 3 | export default (params) => { |
4 | if (process.platform === 'darwin' || process.platform === 'win32') { | 4 | ipcMain.on('settings', (event, args) => { |
5 | // eslint-disable-next-line | 5 | params.settings.set(args); |
6 | ipcMain.on('settings', (event, args) => { | 6 | }); |
7 | params.settings.set(args); | ||
8 | }); | ||
9 | } | ||
10 | }; | 7 | }; |