diff options
author | 2019-09-08 10:44:12 +0200 | |
---|---|---|
committer | 2019-09-08 10:44:12 +0200 | |
commit | c381775c9783b2af8c8ecc2c55e76aaab42ed3ef (patch) | |
tree | 4927aa4b86c03712cd7bf456a56fe9e0367b0715 /src/containers | |
parent | Fix errors in 5.3.0 version merge (diff) | |
download | ferdium-app-c381775c9783b2af8c8ecc2c55e76aaab42ed3ef.tar.gz ferdium-app-c381775c9783b2af8c8ecc2c55e76aaab42ed3ef.tar.zst ferdium-app-c381775c9783b2af8c8ecc2c55e76aaab42ed3ef.zip |
Implement meetfranz/franz#879
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 d03b01539..73385d7b8 100644 --- a/src/containers/settings/EditSettingsScreen.js +++ b/src/containers/settings/EditSettingsScreen.js | |||
@@ -43,6 +43,10 @@ const messages = defineMessages({ | |||
43 | id: 'settings.app.form.minimizeToSystemTray', | 43 | id: 'settings.app.form.minimizeToSystemTray', |
44 | defaultMessage: '!!!Minimize Ferdi to system tray', | 44 | defaultMessage: '!!!Minimize Ferdi to system tray', |
45 | }, | 45 | }, |
46 | privateNotifications: { | ||
47 | id: 'settings.app.form.privateNotifications', | ||
48 | defaultMessage: '!!!Don\'t show message content in notifications', | ||
49 | }, | ||
46 | server: { | 50 | server: { |
47 | id: 'settings.app.form.server', | 51 | id: 'settings.app.form.server', |
48 | defaultMessage: '!!!Server', | 52 | defaultMessage: '!!!Server', |
@@ -110,6 +114,7 @@ export default @inject('stores', 'actions') @observer class EditSettingsScreen e | |||
110 | runInBackground: settingsData.runInBackground, | 114 | runInBackground: settingsData.runInBackground, |
111 | enableSystemTray: settingsData.enableSystemTray, | 115 | enableSystemTray: settingsData.enableSystemTray, |
112 | minimizeToSystemTray: settingsData.minimizeToSystemTray, | 116 | minimizeToSystemTray: settingsData.minimizeToSystemTray, |
117 | privateNotifications: settingsData.privateNotifications, | ||
113 | server: settingsData.server, | 118 | server: settingsData.server, |
114 | todoServer: settingsData.todoServer, | 119 | todoServer: settingsData.todoServer, |
115 | enableGPUAcceleration: settingsData.enableGPUAcceleration, | 120 | enableGPUAcceleration: settingsData.enableGPUAcceleration, |
@@ -177,6 +182,11 @@ export default @inject('stores', 'actions') @observer class EditSettingsScreen e | |||
177 | value: settings.all.app.minimizeToSystemTray, | 182 | value: settings.all.app.minimizeToSystemTray, |
178 | default: DEFAULT_APP_SETTINGS.minimizeToSystemTray, | 183 | default: DEFAULT_APP_SETTINGS.minimizeToSystemTray, |
179 | }, | 184 | }, |
185 | privateNotifications: { | ||
186 | label: intl.formatMessage(messages.privateNotifications), | ||
187 | value: settings.all.app.privateNotifications, | ||
188 | default: DEFAULT_APP_SETTINGS.privateNotifications, | ||
189 | }, | ||
180 | server: { | 190 | server: { |
181 | label: intl.formatMessage(messages.server), | 191 | label: intl.formatMessage(messages.server), |
182 | value: settings.all.app.server || API, | 192 | value: settings.all.app.server || API, |