diff options
author | 2021-08-09 14:38:45 +0530 | |
---|---|---|
committer | 2021-08-09 11:38:36 +0000 | |
commit | 8fd28deaf0ff06907ed48e4c283df8298cca62af (patch) | |
tree | 30100c866d732822627a3994b6058f52242a4b7a /src/components | |
parent | 5.6.1-nightly.19 [skip ci] (diff) | |
download | ferdium-app-8fd28deaf0ff06907ed48e4c283df8298cca62af.tar.gz ferdium-app-8fd28deaf0ff06907ed48e4c283df8298cca62af.tar.zst ferdium-app-8fd28deaf0ff06907ed48e4c283df8298cca62af.zip |
fix(spell-check): use electron's API to enable/disable spell-check when the app starts up
fixes #1743
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/settings/settings/EditSettingsForm.js | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/components/settings/settings/EditSettingsForm.js b/src/components/settings/settings/EditSettingsForm.js index 7a8fc69bd..e9ea97d1f 100644 --- a/src/components/settings/settings/EditSettingsForm.js +++ b/src/components/settings/settings/EditSettingsForm.js | |||
@@ -30,7 +30,7 @@ const messages = defineMessages({ | |||
30 | }, | 30 | }, |
31 | sentryInfo: { | 31 | sentryInfo: { |
32 | id: 'settings.app.sentryInfo', | 32 | id: 'settings.app.sentryInfo', |
33 | defaultMessage: '!!!Sending telemetry data allows us to find errors in Ferdi - we will not send any personal information like your message data! Changing this option requires you to restart Ferdi.', | 33 | defaultMessage: '!!!Sending telemetry data allows us to find errors in Ferdi - we will not send any personal information like your message data!', |
34 | }, | 34 | }, |
35 | hibernateInfo: { | 35 | hibernateInfo: { |
36 | id: 'settings.app.hibernateInfo', | 36 | id: 'settings.app.hibernateInfo', |
@@ -502,8 +502,12 @@ export default @observer class EditSettingsForm extends Component { | |||
502 | <Hr /> | 502 | <Hr /> |
503 | 503 | ||
504 | <Select field={form.$('searchEngine')} /> | 504 | <Select field={form.$('searchEngine')} /> |
505 | |||
506 | <Hr /> | ||
507 | |||
505 | <Toggle field={form.$('sentry')} /> | 508 | <Toggle field={form.$('sentry')} /> |
506 | <p>{intl.formatMessage(messages.sentryInfo)}</p> | 509 | <p className="settings__help">{intl.formatMessage(messages.sentryInfo)}</p> |
510 | <p className="settings__help">{intl.formatMessage(messages.appRestartRequired)}</p> | ||
507 | 511 | ||
508 | <Hr /> | 512 | <Hr /> |
509 | 513 | ||
@@ -564,8 +568,11 @@ export default @observer class EditSettingsForm extends Component { | |||
564 | <Select field={form.$('spellcheckerLanguage')} /> | 568 | <Select field={form.$('spellcheckerLanguage')} /> |
565 | )} | 569 | )} |
566 | {isMac && form.$('enableSpellchecking').value && ( | 570 | {isMac && form.$('enableSpellchecking').value && ( |
567 | <p>{intl.formatMessage(messages.spellCheckerLanguageInfo)}</p> | 571 | <p className="settings__help">{intl.formatMessage(messages.spellCheckerLanguageInfo)}</p> |
568 | )} | 572 | )} |
573 | <p className="settings__help">{intl.formatMessage(messages.appRestartRequired)}</p> | ||
574 | |||
575 | <Hr /> | ||
569 | 576 | ||
570 | <a | 577 | <a |
571 | href={FRANZ_TRANSLATION} | 578 | href={FRANZ_TRANSLATION} |