diff options
author | 2022-06-19 13:54:06 +0530 | |
---|---|---|
committer | 2022-06-19 08:24:06 +0000 | |
commit | 8599af64bc5893ea8e74367dfc9b6d9d6f54c428 (patch) | |
tree | fd0dbe82c4fce58b15b002ba03fcd16e05ed7925 /src/containers/settings | |
parent | Add manual trigger for GH workflow to publsih homebrew tap [skip ci] (diff) | |
download | ferdium-app-8599af64bc5893ea8e74367dfc9b6d9d6f54c428.tar.gz ferdium-app-8599af64bc5893ea8e74367dfc9b6d9d6f54c428.tar.zst ferdium-app-8599af64bc5893ea8e74367dfc9b6d9d6f54c428.zip |
Add ability to enable the progressbar for each service (#301)
Diffstat (limited to 'src/containers/settings')
-rw-r--r-- | src/containers/settings/EditServiceScreen.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/containers/settings/EditServiceScreen.js b/src/containers/settings/EditServiceScreen.js index db8602c10..4615a9cdf 100644 --- a/src/containers/settings/EditServiceScreen.js +++ b/src/containers/settings/EditServiceScreen.js | |||
@@ -85,6 +85,10 @@ const messages = defineMessages({ | |||
85 | id: 'settings.service.form.darkReaderSepia', | 85 | id: 'settings.service.form.darkReaderSepia', |
86 | defaultMessage: 'Dark Reader Sepia', | 86 | defaultMessage: 'Dark Reader Sepia', |
87 | }, | 87 | }, |
88 | enableProgressbar: { | ||
89 | id: 'settings.service.form.enableProgressbar', | ||
90 | defaultMessage: 'Enable Progress bar', | ||
91 | }, | ||
88 | trapLinkClicks: { | 92 | trapLinkClicks: { |
89 | id: 'settings.service.form.trapLinkClicks', | 93 | id: 'settings.service.form.trapLinkClicks', |
90 | defaultMessage: 'Open URLs within Ferdium', | 94 | defaultMessage: 'Open URLs within Ferdium', |
@@ -244,6 +248,11 @@ class EditServiceScreen extends Component { | |||
244 | : undefined, | 248 | : undefined, |
245 | default: 10, | 249 | default: 10, |
246 | }, | 250 | }, |
251 | isProgressbarEnabled: { | ||
252 | label: intl.formatMessage(messages.enableProgressbar), | ||
253 | value: service.isProgressbarEnabled, | ||
254 | default: DEFAULT_SERVICE_SETTINGS.isProgressbarEnabled, | ||
255 | }, | ||
247 | spellcheckerLanguage: { | 256 | spellcheckerLanguage: { |
248 | label: intl.formatMessage(globalMessages.spellcheckerLanguage), | 257 | label: intl.formatMessage(globalMessages.spellcheckerLanguage), |
249 | value: service.spellcheckerLanguage, | 258 | value: service.spellcheckerLanguage, |