diff options
Diffstat (limited to 'src/containers')
-rw-r--r-- | src/containers/settings/EditSettingsScreen.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/containers/settings/EditSettingsScreen.js b/src/containers/settings/EditSettingsScreen.js index a7c2b428f..665444f50 100644 --- a/src/containers/settings/EditSettingsScreen.js +++ b/src/containers/settings/EditSettingsScreen.js | |||
@@ -38,6 +38,10 @@ const messages = defineMessages({ | |||
38 | id: 'settings.app.form.runInBackground', | 38 | id: 'settings.app.form.runInBackground', |
39 | defaultMessage: '!!!Keep Ferdi in background when closing the window', | 39 | defaultMessage: '!!!Keep Ferdi in background when closing the window', |
40 | }, | 40 | }, |
41 | startMinimized: { | ||
42 | id: 'settings.app.form.startMinimized', | ||
43 | defaultMessage: '!!!Start minimized in tray', | ||
44 | }, | ||
41 | enableSystemTray: { | 45 | enableSystemTray: { |
42 | id: 'settings.app.form.enableSystemTray', | 46 | id: 'settings.app.form.enableSystemTray', |
43 | defaultMessage: '!!!Show Ferdi in system tray', | 47 | defaultMessage: '!!!Show Ferdi in system tray', |
@@ -173,6 +177,7 @@ export default @inject('stores', 'actions') @observer class EditSettingsScreen e | |||
173 | data: { | 177 | data: { |
174 | runInBackground: settingsData.runInBackground, | 178 | runInBackground: settingsData.runInBackground, |
175 | enableSystemTray: settingsData.enableSystemTray, | 179 | enableSystemTray: settingsData.enableSystemTray, |
180 | startMinimized: settingsData.startMinimized, | ||
176 | minimizeToSystemTray: settingsData.minimizeToSystemTray, | 181 | minimizeToSystemTray: settingsData.minimizeToSystemTray, |
177 | privateNotifications: settingsData.privateNotifications, | 182 | privateNotifications: settingsData.privateNotifications, |
178 | showServiceNavigationBar: settingsData.showServiceNavigationBar, | 183 | showServiceNavigationBar: settingsData.showServiceNavigationBar, |
@@ -265,6 +270,11 @@ export default @inject('stores', 'actions') @observer class EditSettingsScreen e | |||
265 | value: settings.all.app.runInBackground, | 270 | value: settings.all.app.runInBackground, |
266 | default: DEFAULT_APP_SETTINGS.runInBackground, | 271 | default: DEFAULT_APP_SETTINGS.runInBackground, |
267 | }, | 272 | }, |
273 | startMinimized: { | ||
274 | label: intl.formatMessage(messages.startMinimized), | ||
275 | value: settings.all.app.startMinimized, | ||
276 | default: DEFAULT_APP_SETTINGS.startMinimized, | ||
277 | }, | ||
268 | enableSystemTray: { | 278 | enableSystemTray: { |
269 | label: intl.formatMessage(messages.enableSystemTray), | 279 | label: intl.formatMessage(messages.enableSystemTray), |
270 | value: settings.all.app.enableSystemTray, | 280 | value: settings.all.app.enableSystemTray, |
@@ -466,6 +476,7 @@ export default @inject('stores', 'actions') @observer class EditSettingsScreen e | |||
466 | noUpdates={this.props.stores.settings.app.noUpdates} | 476 | noUpdates={this.props.stores.settings.app.noUpdates} |
467 | hibernationEnabled={this.props.stores.settings.app.hibernate} | 477 | hibernationEnabled={this.props.stores.settings.app.hibernate} |
468 | isDarkmodeEnabled={this.props.stores.settings.app.darkMode} | 478 | isDarkmodeEnabled={this.props.stores.settings.app.darkMode} |
479 | isTrayEnabled={this.props.stores.settings.app.enableSystemTray} | ||
469 | isAdaptableDarkModeEnabled={this.props.stores.settings.app.adaptableDarkMode} | 480 | isAdaptableDarkModeEnabled={this.props.stores.settings.app.adaptableDarkMode} |
470 | openProcessManager={() => this.openProcessManager()} | 481 | openProcessManager={() => this.openProcessManager()} |
471 | /> | 482 | /> |