diff options
author | 2020-02-21 17:09:02 +0100 | |
---|---|---|
committer | 2020-02-21 17:09:02 +0100 | |
commit | b8b627266c38f4c665fd98ffe5c9164ef43d44ca (patch) | |
tree | 0e0eddb1a71c8983a1e1b5fc7266fa9ec8f1d983 /src | |
parent | Replace deprecated call to getName, use name instead (diff) | |
download | ferdium-app-b8b627266c38f4c665fd98ffe5c9164ef43d44ca.tar.gz ferdium-app-b8b627266c38f4c665fd98ffe5c9164ef43d44ca.tar.zst ferdium-app-b8b627266c38f4c665fd98ffe5c9164ef43d44ca.zip |
Group tray settings together
Diffstat (limited to 'src')
-rw-r--r-- | src/components/settings/settings/EditSettingsForm.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/components/settings/settings/EditSettingsForm.js b/src/components/settings/settings/EditSettingsForm.js index 2797a2dce..6017252bc 100644 --- a/src/components/settings/settings/EditSettingsForm.js +++ b/src/components/settings/settings/EditSettingsForm.js | |||
@@ -252,6 +252,9 @@ export default @observer class EditSettingsForm extends Component { | |||
252 | <Toggle field={form.$('runInBackground')} /> | 252 | <Toggle field={form.$('runInBackground')} /> |
253 | <Toggle field={form.$('enableSystemTray')} /> | 253 | <Toggle field={form.$('enableSystemTray')} /> |
254 | {isTrayEnabled && <Toggle field={form.$('startMinimized')} />} | 254 | {isTrayEnabled && <Toggle field={form.$('startMinimized')} />} |
255 | {process.platform === 'win32' && ( | ||
256 | <Toggle field={form.$('minimizeToSystemTray')} /> | ||
257 | )} | ||
255 | <Toggle field={form.$('privateNotifications')} /> | 258 | <Toggle field={form.$('privateNotifications')} /> |
256 | <Toggle field={form.$('showServiceNavigationBar')} /> | 259 | <Toggle field={form.$('showServiceNavigationBar')} /> |
257 | 260 | ||
@@ -279,10 +282,6 @@ export default @observer class EditSettingsForm extends Component { | |||
279 | 282 | ||
280 | <Hr /> | 283 | <Hr /> |
281 | 284 | ||
282 | {process.platform === 'win32' && ( | ||
283 | <Toggle field={form.$('minimizeToSystemTray')} /> | ||
284 | )} | ||
285 | |||
286 | <Input | 285 | <Input |
287 | placeholder="Server" | 286 | placeholder="Server" |
288 | onChange={e => this.submit(e)} | 287 | onChange={e => this.submit(e)} |