diff options
author | 2022-06-01 17:56:54 +0100 | |
---|---|---|
committer | 2022-06-01 13:19:58 -0500 | |
commit | 22485b72e5cfe48599389b1fd1dd5713839a1e3a (patch) | |
tree | 2bd7a606f2901370cfc44c9fd83a49600c0f9641 /src/components | |
parent | Minor updates without breaking Ferdium app (diff) | |
download | ferdium-app-22485b72e5cfe48599389b1fd1dd5713839a1e3a.tar.gz ferdium-app-22485b72e5cfe48599389b1fd1dd5713839a1e3a.tar.zst ferdium-app-22485b72e5cfe48599389b1fd1dd5713839a1e3a.zip |
Change Input box to slider on Grayscale Dim level
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/settings/settings/EditSettingsForm.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/components/settings/settings/EditSettingsForm.js b/src/components/settings/settings/EditSettingsForm.js index 3a4a48177..1d61a7510 100644 --- a/src/components/settings/settings/EditSettingsForm.js +++ b/src/components/settings/settings/EditSettingsForm.js | |||
@@ -31,6 +31,7 @@ import { | |||
31 | import { openPath } from '../../../helpers/url-helpers'; | 31 | import { openPath } from '../../../helpers/url-helpers'; |
32 | import globalMessages from '../../../i18n/globalMessages'; | 32 | import globalMessages from '../../../i18n/globalMessages'; |
33 | import { Icon } from '../../ui/icon'; | 33 | import { Icon } from '../../ui/icon'; |
34 | import Slider from '../../ui/Slider'; | ||
34 | 35 | ||
35 | const debug = require('../../../preload-safe-debug')('Ferdium:EditSettingsForm'); | 36 | const debug = require('../../../preload-safe-debug')('Ferdium:EditSettingsForm'); |
36 | 37 | ||
@@ -639,11 +640,11 @@ class EditSettingsForm extends Component { | |||
639 | <Toggle field={form.$('useGrayscaleServices')} /> | 640 | <Toggle field={form.$('useGrayscaleServices')} /> |
640 | 641 | ||
641 | {isUseGrayscaleServicesEnabled && ( | 642 | {isUseGrayscaleServicesEnabled && ( |
642 | <Input | 643 | <Slider |
643 | type="number" | 644 | type="number" |
644 | onChange={e => this.submit(e)} | 645 | onChange={e => this.submit(e)} |
645 | field={form.$('grayscaleServicesDim')} | 646 | field={form.$('grayscaleServicesDim')} |
646 | /> | 647 | /> |
647 | )} | 648 | )} |
648 | 649 | ||
649 | <Toggle field={form.$('showMessageBadgeWhenMuted')} /> | 650 | <Toggle field={form.$('showMessageBadgeWhenMuted')} /> |