aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/components/settings/settings/EditSettingsForm.js5
-rw-r--r--src/containers/settings/EditSettingsScreen.js2
-rw-r--r--src/i18n/locales/en-US.json2
3 files changed, 5 insertions, 4 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 {
31import { openPath } from '../../../helpers/url-helpers'; 31import { openPath } from '../../../helpers/url-helpers';
32import globalMessages from '../../../i18n/globalMessages'; 32import globalMessages from '../../../i18n/globalMessages';
33import { Icon } from '../../ui/icon'; 33import { Icon } from '../../ui/icon';
34import Slider from '../../ui/Slider';
34 35
35const debug = require('../../../preload-safe-debug')('Ferdium:EditSettingsForm'); 36const 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')} />
diff --git a/src/containers/settings/EditSettingsScreen.js b/src/containers/settings/EditSettingsScreen.js
index 2c1c7f077..6c921f1fb 100644
--- a/src/containers/settings/EditSettingsScreen.js
+++ b/src/containers/settings/EditSettingsScreen.js
@@ -216,7 +216,7 @@ const messages = defineMessages({
216 }, 216 },
217 grayscaleServicesDim: { 217 grayscaleServicesDim: {
218 id: 'settings.app.form.grayscaleServicesDim', 218 id: 'settings.app.form.grayscaleServicesDim',
219 defaultMessage: 'Input grayscale dim level (%)', 219 defaultMessage: 'Grayscale dim level',
220 }, 220 },
221 hideWorkspacesButton: { 221 hideWorkspacesButton: {
222 id: 'settings.app.form.hideWorkspacesButton', 222 id: 'settings.app.form.hideWorkspacesButton',
diff --git a/src/i18n/locales/en-US.json b/src/i18n/locales/en-US.json
index b4460c28e..f787b90e4 100644
--- a/src/i18n/locales/en-US.json
+++ b/src/i18n/locales/en-US.json
@@ -212,7 +212,7 @@
212 "settings.app.form.enableSpellchecking": "Enable spell checking", 212 "settings.app.form.enableSpellchecking": "Enable spell checking",
213 "settings.app.form.enableSystemTray": "Always show Ferdium in System Tray", 213 "settings.app.form.enableSystemTray": "Always show Ferdium in System Tray",
214 "settings.app.form.enableTodos": "Enable Ferdium Todos", 214 "settings.app.form.enableTodos": "Enable Ferdium Todos",
215 "settings.app.form.grayscaleServicesDim": "Input grayscale dim level (%)", 215 "settings.app.form.grayscaleServicesDim": "Grayscale dim level",
216 "settings.app.form.hibernateOnStartup": "Keep services in hibernation on startup", 216 "settings.app.form.hibernateOnStartup": "Keep services in hibernation on startup",
217 "settings.app.form.hibernationStrategy": "Hibernation strategy", 217 "settings.app.form.hibernationStrategy": "Hibernation strategy",
218 "settings.app.form.hideNotificationsButton": "Hide Notifications & Sound button", 218 "settings.app.form.hideNotificationsButton": "Hide Notifications & Sound button",