diff options
author | 2019-09-25 11:54:21 +0200 | |
---|---|---|
committer | 2019-09-25 11:54:21 +0200 | |
commit | 666ec21ac9e905ac4e56c177d84f5716de9eb0fd (patch) | |
tree | 219ff3a5cbad4b06cddfc0df03848304ffbc67f7 /src/containers | |
parent | Merge branch 'master' of https://github.com/getferdi/ferdi (diff) | |
download | ferdium-app-666ec21ac9e905ac4e56c177d84f5716de9eb0fd.tar.gz ferdium-app-666ec21ac9e905ac4e56c177d84f5716de9eb0fd.tar.zst ferdium-app-666ec21ac9e905ac4e56c177d84f5716de9eb0fd.zip |
Implement #75
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 0ae64b6ad..962dc1b65 100644 --- a/src/containers/settings/EditSettingsScreen.js +++ b/src/containers/settings/EditSettingsScreen.js | |||
@@ -49,6 +49,10 @@ const messages = defineMessages({ | |||
49 | id: 'settings.app.form.privateNotifications', | 49 | id: 'settings.app.form.privateNotifications', |
50 | defaultMessage: '!!!Don\'t show message content in notifications', | 50 | defaultMessage: '!!!Don\'t show message content in notifications', |
51 | }, | 51 | }, |
52 | hibernate: { | ||
53 | id: 'settings.app.form.hibernate', | ||
54 | defaultMessage: '!!!Enable service hibernation', | ||
55 | }, | ||
52 | server: { | 56 | server: { |
53 | id: 'settings.app.form.server', | 57 | id: 'settings.app.form.server', |
54 | defaultMessage: '!!!Server', | 58 | defaultMessage: '!!!Server', |
@@ -142,6 +146,7 @@ export default @inject('stores', 'actions') @observer class EditSettingsScreen e | |||
142 | enableSystemTray: settingsData.enableSystemTray, | 146 | enableSystemTray: settingsData.enableSystemTray, |
143 | minimizeToSystemTray: settingsData.minimizeToSystemTray, | 147 | minimizeToSystemTray: settingsData.minimizeToSystemTray, |
144 | privateNotifications: settingsData.privateNotifications, | 148 | privateNotifications: settingsData.privateNotifications, |
149 | hibernate: settingsData.hibernate, | ||
145 | server: settingsData.server, | 150 | server: settingsData.server, |
146 | todoServer: settingsData.todoServer, | 151 | todoServer: settingsData.todoServer, |
147 | lockingFeatureEnabled: settingsData.lockingFeatureEnabled, | 152 | lockingFeatureEnabled: settingsData.lockingFeatureEnabled, |
@@ -229,6 +234,11 @@ export default @inject('stores', 'actions') @observer class EditSettingsScreen e | |||
229 | value: settings.all.app.privateNotifications, | 234 | value: settings.all.app.privateNotifications, |
230 | default: DEFAULT_APP_SETTINGS.privateNotifications, | 235 | default: DEFAULT_APP_SETTINGS.privateNotifications, |
231 | }, | 236 | }, |
237 | hibernate: { | ||
238 | label: intl.formatMessage(messages.hibernate), | ||
239 | value: settings.all.app.hibernate, | ||
240 | default: DEFAULT_APP_SETTINGS.hibernate, | ||
241 | }, | ||
232 | server: { | 242 | server: { |
233 | label: intl.formatMessage(messages.server), | 243 | label: intl.formatMessage(messages.server), |
234 | value: settings.all.app.server || API, | 244 | value: settings.all.app.server || API, |