diff options
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/settings/settings/EditSettingsForm.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/components/settings/settings/EditSettingsForm.js b/src/components/settings/settings/EditSettingsForm.js index f76378a3e..1a36cedb5 100644 --- a/src/components/settings/settings/EditSettingsForm.js +++ b/src/components/settings/settings/EditSettingsForm.js | |||
@@ -161,7 +161,6 @@ export default @observer class EditSettingsForm extends Component { | |||
161 | noUpdates: PropTypes.bool.isRequired, | 161 | noUpdates: PropTypes.bool.isRequired, |
162 | hibernationEnabled: PropTypes.bool.isRequired, | 162 | hibernationEnabled: PropTypes.bool.isRequired, |
163 | isDarkmodeEnabled: PropTypes.bool.isRequired, | 163 | isDarkmodeEnabled: PropTypes.bool.isRequired, |
164 | isTrayEnabled: PropTypes.bool.isRequired, | ||
165 | isAdaptableDarkModeEnabled: PropTypes.bool.isRequired, | 164 | isAdaptableDarkModeEnabled: PropTypes.bool.isRequired, |
166 | openProcessManager: PropTypes.func.isRequired, | 165 | openProcessManager: PropTypes.func.isRequired, |
167 | }; | 166 | }; |
@@ -200,7 +199,6 @@ export default @observer class EditSettingsForm extends Component { | |||
200 | noUpdates, | 199 | noUpdates, |
201 | hibernationEnabled, | 200 | hibernationEnabled, |
202 | isDarkmodeEnabled, | 201 | isDarkmodeEnabled, |
203 | isTrayEnabled, | ||
204 | openProcessManager, | 202 | openProcessManager, |
205 | isTodosActivated, | 203 | isTodosActivated, |
206 | } = this.props; | 204 | } = this.props; |
@@ -237,7 +235,7 @@ export default @observer class EditSettingsForm extends Component { | |||
237 | <Toggle field={form.$('runInBackground')} /> | 235 | <Toggle field={form.$('runInBackground')} /> |
238 | <Toggle field={form.$('enableSystemTray')} /> | 236 | <Toggle field={form.$('enableSystemTray')} /> |
239 | <Toggle field={form.$('reloadAfterResume')} /> | 237 | <Toggle field={form.$('reloadAfterResume')} /> |
240 | {isTrayEnabled && <Toggle field={form.$('startMinimized')} />} | 238 | <Toggle field={form.$('startMinimized')} /> |
241 | {process.platform === 'win32' && ( | 239 | {process.platform === 'win32' && ( |
242 | <Toggle field={form.$('minimizeToSystemTray')} /> | 240 | <Toggle field={form.$('minimizeToSystemTray')} /> |
243 | )} | 241 | )} |