diff options
author | 2021-06-05 16:28:52 +0530 | |
---|---|---|
committer | 2021-06-05 12:58:52 +0200 | |
commit | 079765bad8a577d140166098e8dd0b7fe0660e4e (patch) | |
tree | 4a157a1e5fd0eb3b6a2ce71229a0aed7165dddb3 /src/containers/settings/EditSettingsScreen.js | |
parent | Removed hardcoded strings and reused constants defined in config.js (#1499) (diff) | |
download | ferdium-app-079765bad8a577d140166098e8dd0b7fe0660e4e.tar.gz ferdium-app-079765bad8a577d140166098e8dd0b7fe0660e4e.tar.zst ferdium-app-079765bad8a577d140166098e8dd0b7fe0660e4e.zip |
Added ability to turn off notifications for clipboard events generated by context menu actions (#1494)
Diffstat (limited to 'src/containers/settings/EditSettingsScreen.js')
-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 ff22bc45a..245fd8a63 100644 --- a/src/containers/settings/EditSettingsScreen.js +++ b/src/containers/settings/EditSettingsScreen.js | |||
@@ -68,6 +68,10 @@ const messages = defineMessages({ | |||
68 | id: 'settings.app.form.privateNotifications', | 68 | id: 'settings.app.form.privateNotifications', |
69 | defaultMessage: '!!!Don\'t show message content in notifications', | 69 | defaultMessage: '!!!Don\'t show message content in notifications', |
70 | }, | 70 | }, |
71 | clipboardNotifications: { | ||
72 | id: 'settings.app.form.clipboardNotifications', | ||
73 | defaultMessage: '!!!Don\'t show notifications for clipboard events', | ||
74 | }, | ||
71 | notifyTaskBarOnMessage: { | 75 | notifyTaskBarOnMessage: { |
72 | id: 'settings.app.form.notifyTaskBarOnMessage', | 76 | id: 'settings.app.form.notifyTaskBarOnMessage', |
73 | defaultMessage: '!!!Notify TaskBar/Dock on new message', | 77 | defaultMessage: '!!!Notify TaskBar/Dock on new message', |
@@ -248,6 +252,7 @@ export default @inject('stores', 'actions') @observer class EditSettingsScreen e | |||
248 | minimizeToSystemTray: settingsData.minimizeToSystemTray, | 252 | minimizeToSystemTray: settingsData.minimizeToSystemTray, |
249 | closeToSystemTray: settingsData.closeToSystemTray, | 253 | closeToSystemTray: settingsData.closeToSystemTray, |
250 | privateNotifications: settingsData.privateNotifications, | 254 | privateNotifications: settingsData.privateNotifications, |
255 | clipboardNotifications: settingsData.clipboardNotifications, | ||
251 | notifyTaskBarOnMessage: settingsData.notifyTaskBarOnMessage, | 256 | notifyTaskBarOnMessage: settingsData.notifyTaskBarOnMessage, |
252 | navigationBarBehaviour: settingsData.navigationBarBehaviour, | 257 | navigationBarBehaviour: settingsData.navigationBarBehaviour, |
253 | searchEngine: settingsData.searchEngine, | 258 | searchEngine: settingsData.searchEngine, |
@@ -400,6 +405,11 @@ export default @inject('stores', 'actions') @observer class EditSettingsScreen e | |||
400 | value: settings.all.app.privateNotifications, | 405 | value: settings.all.app.privateNotifications, |
401 | default: DEFAULT_APP_SETTINGS.privateNotifications, | 406 | default: DEFAULT_APP_SETTINGS.privateNotifications, |
402 | }, | 407 | }, |
408 | clipboardNotifications: { | ||
409 | label: intl.formatMessage(messages.clipboardNotifications), | ||
410 | value: settings.all.app.clipboardNotifications, | ||
411 | default: DEFAULT_APP_SETTINGS.clipboardNotifications, | ||
412 | }, | ||
403 | notifyTaskBarOnMessage: { | 413 | notifyTaskBarOnMessage: { |
404 | label: intl.formatMessage(messages.notifyTaskBarOnMessage), | 414 | label: intl.formatMessage(messages.notifyTaskBarOnMessage), |
405 | value: settings.all.app.notifyTaskBarOnMessage, | 415 | value: settings.all.app.notifyTaskBarOnMessage, |