diff options
author | 2017-11-12 19:39:50 +0100 | |
---|---|---|
committer | 2017-11-12 19:39:50 +0100 | |
commit | b54c43dd5413a7d384e977b9f2fd0ffd39a593da (patch) | |
tree | b36fb3b79e2146e3887a50d928b49384c1f3c8cc /src/containers/settings/EditSettingsScreen.js | |
parent | Add LOCAL_API debug mode (diff) | |
download | ferdium-app-b54c43dd5413a7d384e977b9f2fd0ffd39a593da.tar.gz ferdium-app-b54c43dd5413a7d384e977b9f2fd0ffd39a593da.tar.zst ferdium-app-b54c43dd5413a7d384e977b9f2fd0ffd39a593da.zip |
Add settings option to toggle spell checker
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 b10acf3c6..e146dc97c 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.showDisabledServices', | 43 | id: 'settings.app.form.showDisabledServices', |
44 | defaultMessage: '!!!Display disabled services tabs', | 44 | defaultMessage: '!!!Display disabled services tabs', |
45 | }, | 45 | }, |
46 | enableSpellchecking: { | ||
47 | id: 'settings.app.form.enableSpellchecking', | ||
48 | defaultMessage: '!!!Enable spell checking', | ||
49 | }, | ||
46 | beta: { | 50 | beta: { |
47 | id: 'settings.app.form.beta', | 51 | id: 'settings.app.form.beta', |
48 | defaultMessage: '!!!Include beta versions', | 52 | defaultMessage: '!!!Include beta versions', |
@@ -73,6 +77,7 @@ export default class EditSettingsScreen extends Component { | |||
73 | enableSystemTray: settingsData.enableSystemTray, | 77 | enableSystemTray: settingsData.enableSystemTray, |
74 | minimizeToSystemTray: settingsData.minimizeToSystemTray, | 78 | minimizeToSystemTray: settingsData.minimizeToSystemTray, |
75 | showDisabledServices: settingsData.showDisabledServices, | 79 | showDisabledServices: settingsData.showDisabledServices, |
80 | enableSpellchecking: settingsData.enableSpellchecking, | ||
76 | locale: settingsData.locale, | 81 | locale: settingsData.locale, |
77 | beta: settingsData.beta, | 82 | beta: settingsData.beta, |
78 | }, | 83 | }, |
@@ -129,6 +134,11 @@ export default class EditSettingsScreen extends Component { | |||
129 | value: settings.all.showDisabledServices, | 134 | value: settings.all.showDisabledServices, |
130 | default: DEFAULT_APP_SETTINGS.showDisabledServices, | 135 | default: DEFAULT_APP_SETTINGS.showDisabledServices, |
131 | }, | 136 | }, |
137 | enableSpellchecking: { | ||
138 | label: intl.formatMessage(messages.enableSpellchecking), | ||
139 | value: settings.all.enableSpellchecking, | ||
140 | default: DEFAULT_APP_SETTINGS.enableSpellchecking, | ||
141 | }, | ||
132 | locale: { | 142 | locale: { |
133 | label: intl.formatMessage(messages.language), | 143 | label: intl.formatMessage(messages.language), |
134 | value: app.locale, | 144 | value: app.locale, |