diff options
author | 2020-01-30 00:03:02 +0100 | |
---|---|---|
committer | 2020-01-30 00:03:02 +0100 | |
commit | d4ba692994467ca2c28cf27bb63b9a4c67f04195 (patch) | |
tree | 12c45d568abf03f409b5654fc364aa81c39a1a6c /src/components | |
parent | Merge branch 'develop' (diff) | |
download | ferdium-app-d4ba692994467ca2c28cf27bb63b9a4c67f04195.tar.gz ferdium-app-d4ba692994467ca2c28cf27bb63b9a4c67f04195.tar.zst ferdium-app-d4ba692994467ca2c28cf27bb63b9a4c67f04195.zip |
Start in tray
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/settings/settings/EditSettingsForm.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/settings/settings/EditSettingsForm.js b/src/components/settings/settings/EditSettingsForm.js index d567a47d1..0badd3b98 100644 --- a/src/components/settings/settings/EditSettingsForm.js +++ b/src/components/settings/settings/EditSettingsForm.js | |||
@@ -162,6 +162,7 @@ export default @observer class EditSettingsForm extends Component { | |||
162 | noUpdates: PropTypes.bool.isRequired, | 162 | noUpdates: PropTypes.bool.isRequired, |
163 | hibernationEnabled: PropTypes.bool.isRequired, | 163 | hibernationEnabled: PropTypes.bool.isRequired, |
164 | isDarkmodeEnabled: PropTypes.bool.isRequired, | 164 | isDarkmodeEnabled: PropTypes.bool.isRequired, |
165 | isTrayEnabled: PropTypes.bool.isRequired, | ||
165 | openProcessManager: PropTypes.func.isRequired, | 166 | openProcessManager: PropTypes.func.isRequired, |
166 | }; | 167 | }; |
167 | 168 | ||
@@ -199,6 +200,7 @@ export default @observer class EditSettingsForm extends Component { | |||
199 | noUpdates, | 200 | noUpdates, |
200 | hibernationEnabled, | 201 | hibernationEnabled, |
201 | isDarkmodeEnabled, | 202 | isDarkmodeEnabled, |
203 | isTrayEnabled, | ||
202 | openProcessManager, | 204 | openProcessManager, |
203 | } = this.props; | 205 | } = this.props; |
204 | const { intl } = this.context; | 206 | const { intl } = this.context; |
@@ -235,6 +237,7 @@ export default @observer class EditSettingsForm extends Component { | |||
235 | <Toggle field={form.$('autoLaunchOnStart')} /> | 237 | <Toggle field={form.$('autoLaunchOnStart')} /> |
236 | <Toggle field={form.$('runInBackground')} /> | 238 | <Toggle field={form.$('runInBackground')} /> |
237 | <Toggle field={form.$('enableSystemTray')} /> | 239 | <Toggle field={form.$('enableSystemTray')} /> |
240 | {isTrayEnabled && <Toggle field={form.$('startMinimized')} />} | ||
238 | <Toggle field={form.$('privateNotifications')} /> | 241 | <Toggle field={form.$('privateNotifications')} /> |
239 | <Toggle field={form.$('showServiceNavigationBar')} /> | 242 | <Toggle field={form.$('showServiceNavigationBar')} /> |
240 | <Toggle field={form.$('hibernate')} /> | 243 | <Toggle field={form.$('hibernate')} /> |