diff options
Diffstat (limited to 'src/containers')
-rw-r--r-- | src/containers/settings/EditSettingsScreen.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/containers/settings/EditSettingsScreen.js b/src/containers/settings/EditSettingsScreen.js index 74ec1909e..f6c2d4360 100644 --- a/src/containers/settings/EditSettingsScreen.js +++ b/src/containers/settings/EditSettingsScreen.js | |||
@@ -70,6 +70,10 @@ const messages = defineMessages({ | |||
70 | id: 'settings.app.form.hibernate', | 70 | id: 'settings.app.form.hibernate', |
71 | defaultMessage: '!!!Enable service hibernation', | 71 | defaultMessage: '!!!Enable service hibernation', |
72 | }, | 72 | }, |
73 | hibernateOnStartup: { | ||
74 | id: 'settings.app.form.hibernateOnStartup', | ||
75 | defaultMessage: '!!!Keep services in hibernation on startup', | ||
76 | }, | ||
73 | hibernationStrategy: { | 77 | hibernationStrategy: { |
74 | id: 'settings.app.form.hibernationStrategy', | 78 | id: 'settings.app.form.hibernationStrategy', |
75 | defaultMessage: '!!!Hibernation strategy', | 79 | defaultMessage: '!!!Hibernation strategy', |
@@ -208,6 +212,7 @@ export default @inject('stores', 'actions') @observer class EditSettingsScreen e | |||
208 | navigationBarBehaviour: settingsData.navigationBarBehaviour, | 212 | navigationBarBehaviour: settingsData.navigationBarBehaviour, |
209 | sentry: settingsData.sentry, | 213 | sentry: settingsData.sentry, |
210 | hibernate: settingsData.hibernate, | 214 | hibernate: settingsData.hibernate, |
215 | hibernateOnStartup: settingsData.hibernateOnStartup, | ||
211 | hibernationStrategy: settingsData.hibernationStrategy, | 216 | hibernationStrategy: settingsData.hibernationStrategy, |
212 | predefinedTodoServer: settingsData.predefinedTodoServer, | 217 | predefinedTodoServer: settingsData.predefinedTodoServer, |
213 | customTodoServer: settingsData.customTodoServer, | 218 | customTodoServer: settingsData.customTodoServer, |
@@ -361,6 +366,11 @@ export default @inject('stores', 'actions') @observer class EditSettingsScreen e | |||
361 | value: settings.all.app.hibernate, | 366 | value: settings.all.app.hibernate, |
362 | default: DEFAULT_APP_SETTINGS.hibernate, | 367 | default: DEFAULT_APP_SETTINGS.hibernate, |
363 | }, | 368 | }, |
369 | hibernateOnStartup: { | ||
370 | label: intl.formatMessage(messages.hibernateOnStartup), | ||
371 | value: settings.all.app.hibernateOnStartup, | ||
372 | default: DEFAULT_APP_SETTINGS.hibernateOnStartup, | ||
373 | }, | ||
364 | hibernationStrategy: { | 374 | hibernationStrategy: { |
365 | label: intl.formatMessage(messages.hibernationStrategy), | 375 | label: intl.formatMessage(messages.hibernationStrategy), |
366 | value: settings.all.app.hibernationStrategy, | 376 | value: settings.all.app.hibernationStrategy, |