diff options
author | 2022-05-06 08:56:27 +0100 | |
---|---|---|
committer | 2022-05-06 09:57:02 -0500 | |
commit | abec4c80bf4241194e2704136db4f66d064cce38 (patch) | |
tree | 3e740790185b7eb178121b74b46ecb7e77fdfb3c /src/components/settings | |
parent | docs: add cedricroijakkers as a contributor for infra (#109) [skip ci] (diff) | |
download | ferdium-app-abec4c80bf4241194e2704136db4f66d064cce38.tar.gz ferdium-app-abec4c80bf4241194e2704136db4f66d064cce38.tar.zst ferdium-app-abec4c80bf4241194e2704136db4f66d064cce38.zip |
Feature: Add monochromatic Service icons option with Dim adjustment
Diffstat (limited to 'src/components/settings')
-rw-r--r-- | src/components/settings/settings/EditSettingsForm.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/components/settings/settings/EditSettingsForm.js b/src/components/settings/settings/EditSettingsForm.js index 2ea9272b0..600345117 100644 --- a/src/components/settings/settings/EditSettingsForm.js +++ b/src/components/settings/settings/EditSettingsForm.js | |||
@@ -210,6 +210,7 @@ class EditSettingsForm extends Component { | |||
210 | automaticUpdates: PropTypes.bool.isRequired, | 210 | automaticUpdates: PropTypes.bool.isRequired, |
211 | isDarkmodeEnabled: PropTypes.bool.isRequired, | 211 | isDarkmodeEnabled: PropTypes.bool.isRequired, |
212 | isAdaptableDarkModeEnabled: PropTypes.bool.isRequired, | 212 | isAdaptableDarkModeEnabled: PropTypes.bool.isRequired, |
213 | isUseGrayscaleServicesEnabled: PropTypes.bool.isRequired, | ||
213 | openProcessManager: PropTypes.func.isRequired, | 214 | openProcessManager: PropTypes.func.isRequired, |
214 | isSplitModeEnabled: PropTypes.bool.isRequired, | 215 | isSplitModeEnabled: PropTypes.bool.isRequired, |
215 | hasAddedTodosAsService: PropTypes.bool.isRequired, | 216 | hasAddedTodosAsService: PropTypes.bool.isRequired, |
@@ -249,6 +250,7 @@ class EditSettingsForm extends Component { | |||
249 | form, | 250 | form, |
250 | isCheckingForUpdates, | 251 | isCheckingForUpdates, |
251 | isAdaptableDarkModeEnabled, | 252 | isAdaptableDarkModeEnabled, |
253 | isUseGrayscaleServicesEnabled, | ||
252 | isUpdateAvailable, | 254 | isUpdateAvailable, |
253 | noUpdateAvailable, | 255 | noUpdateAvailable, |
254 | updateIsReadyToInstall, | 256 | updateIsReadyToInstall, |
@@ -604,6 +606,16 @@ class EditSettingsForm extends Component { | |||
604 | 606 | ||
605 | <Toggle field={form.$('showDisabledServices')} /> | 607 | <Toggle field={form.$('showDisabledServices')} /> |
606 | <Toggle field={form.$('showServiceName')} /> | 608 | <Toggle field={form.$('showServiceName')} /> |
609 | <Toggle field={form.$('useGrayscaleServices')} /> | ||
610 | |||
611 | {isUseGrayscaleServicesEnabled && ( | ||
612 | <Input | ||
613 | type="number" | ||
614 | onChange={e => this.submit(e)} | ||
615 | field={form.$('grayscaleServicesDim')} | ||
616 | /> | ||
617 | )} | ||
618 | |||
607 | <Toggle field={form.$('showMessageBadgeWhenMuted')} /> | 619 | <Toggle field={form.$('showMessageBadgeWhenMuted')} /> |
608 | <Toggle field={form.$('enableLongPressServiceHint')} /> | 620 | <Toggle field={form.$('enableLongPressServiceHint')} /> |
609 | <Select field={form.$('iconSize')} /> | 621 | <Select field={form.$('iconSize')} /> |