diff options
author | 2022-06-18 11:47:47 +0530 | |
---|---|---|
committer | 2022-06-18 22:16:09 +0530 | |
commit | 8c3323bc6c1743f04dee7598e186e07cd793ab7f (patch) | |
tree | 16b7421bb46cece0692b22e74ed228ad153bea48 /src/containers/settings/EditSettingsScreen.js | |
parent | 6.0.0-nightly.66 [skip ci] (diff) | |
download | ferdium-app-8c3323bc6c1743f04dee7598e186e07cd793ab7f.tar.gz ferdium-app-8c3323bc6c1743f04dee7598e186e07cd793ab7f.tar.zst ferdium-app-8c3323bc6c1743f04dee7598e186e07cd793ab7f.zip |
Add ability to set the progressbar color from the Settings screen
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 46c8232e4..bae19d3b6 100644 --- a/src/containers/settings/EditSettingsScreen.js +++ b/src/containers/settings/EditSettingsScreen.js | |||
@@ -234,6 +234,10 @@ const messages = defineMessages({ | |||
234 | id: 'settings.app.form.accentColor', | 234 | id: 'settings.app.form.accentColor', |
235 | defaultMessage: 'Accent color', | 235 | defaultMessage: 'Accent color', |
236 | }, | 236 | }, |
237 | progressbarAccentColor: { | ||
238 | id: 'settings.app.form.progressbarAccentColor', | ||
239 | defaultMessage: 'Progressbar Accent color', | ||
240 | }, | ||
237 | showDisabledServices: { | 241 | showDisabledServices: { |
238 | id: 'settings.app.form.showDisabledServices', | 242 | id: 'settings.app.form.showDisabledServices', |
239 | defaultMessage: 'Display disabled services tabs', | 243 | defaultMessage: 'Display disabled services tabs', |
@@ -368,6 +372,7 @@ class EditSettingsScreen extends Component { | |||
368 | hideSettingsButton: Boolean(settingsData.hideSettingsButton), | 372 | hideSettingsButton: Boolean(settingsData.hideSettingsButton), |
369 | alwaysShowWorkspaces: Boolean(settingsData.alwaysShowWorkspaces), | 373 | alwaysShowWorkspaces: Boolean(settingsData.alwaysShowWorkspaces), |
370 | accentColor: settingsData.accentColor, | 374 | accentColor: settingsData.accentColor, |
375 | progressbarAccentColor: settingsData.progressbarAccentColor, | ||
371 | showMessageBadgeWhenMuted: Boolean( | 376 | showMessageBadgeWhenMuted: Boolean( |
372 | settingsData.showMessageBadgeWhenMuted, | 377 | settingsData.showMessageBadgeWhenMuted, |
373 | ), | 378 | ), |
@@ -758,6 +763,11 @@ class EditSettingsScreen extends Component { | |||
758 | value: settings.all.app.accentColor, | 763 | value: settings.all.app.accentColor, |
759 | default: DEFAULT_APP_SETTINGS.accentColor, | 764 | default: DEFAULT_APP_SETTINGS.accentColor, |
760 | }, | 765 | }, |
766 | progressbarAccentColor: { | ||
767 | label: intl.formatMessage(messages.progressbarAccentColor), | ||
768 | value: settings.all.app.progressbarAccentColor, | ||
769 | default: DEFAULT_APP_SETTINGS.progressbarAccentColor, | ||
770 | }, | ||
761 | enableGPUAcceleration: { | 771 | enableGPUAcceleration: { |
762 | label: intl.formatMessage(messages.enableGPUAcceleration), | 772 | label: intl.formatMessage(messages.enableGPUAcceleration), |
763 | value: settings.all.app.enableGPUAcceleration, | 773 | value: settings.all.app.enableGPUAcceleration, |