diff options
Diffstat (limited to 'src/components/settings')
-rw-r--r-- | src/components/settings/settings/EditSettingsForm.js | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/components/settings/settings/EditSettingsForm.js b/src/components/settings/settings/EditSettingsForm.js index eab65f5e5..d17c804f0 100644 --- a/src/components/settings/settings/EditSettingsForm.js +++ b/src/components/settings/settings/EditSettingsForm.js | |||
@@ -9,7 +9,6 @@ import { mdiGithub, mdiOpenInNew } from '@mdi/js'; | |||
9 | import Form from '../../../lib/Form'; | 9 | import Form from '../../../lib/Form'; |
10 | import Button from '../../ui/Button'; | 10 | import Button from '../../ui/Button'; |
11 | import Toggle from '../../ui/Toggle'; | 11 | import Toggle from '../../ui/Toggle'; |
12 | import ToggleRaw from '../../ui/ToggleRaw'; | ||
13 | import Select from '../../ui/Select'; | 12 | import Select from '../../ui/Select'; |
14 | import Input from '../../ui/Input'; | 13 | import Input from '../../ui/Input'; |
15 | import Infobox from '../../ui/Infobox'; | 14 | import Infobox from '../../ui/Infobox'; |
@@ -203,7 +202,6 @@ class EditSettingsForm extends Component { | |||
203 | isDarkmodeEnabled: PropTypes.bool.isRequired, | 202 | isDarkmodeEnabled: PropTypes.bool.isRequired, |
204 | isAdaptableDarkModeEnabled: PropTypes.bool.isRequired, | 203 | isAdaptableDarkModeEnabled: PropTypes.bool.isRequired, |
205 | isSplitModeEnabled: PropTypes.bool.isRequired, | 204 | isSplitModeEnabled: PropTypes.bool.isRequired, |
206 | isNightlyEnabled: PropTypes.bool.isRequired, | ||
207 | hasAddedTodosAsService: PropTypes.bool.isRequired, | 205 | hasAddedTodosAsService: PropTypes.bool.isRequired, |
208 | isOnline: PropTypes.bool.isRequired, | 206 | isOnline: PropTypes.bool.isRequired, |
209 | }; | 207 | }; |
@@ -252,7 +250,6 @@ class EditSettingsForm extends Component { | |||
252 | isDarkmodeEnabled, | 250 | isDarkmodeEnabled, |
253 | isSplitModeEnabled, | 251 | isSplitModeEnabled, |
254 | isTodosActivated, | 252 | isTodosActivated, |
255 | isNightlyEnabled, | ||
256 | hasAddedTodosAsService, | 253 | hasAddedTodosAsService, |
257 | isOnline, | 254 | isOnline, |
258 | } = this.props; | 255 | } = this.props; |
@@ -770,17 +767,6 @@ class EditSettingsForm extends Component { | |||
770 | {automaticUpdates && ( | 767 | {automaticUpdates && ( |
771 | <div> | 768 | <div> |
772 | <Toggle field={form.$('beta')} /> | 769 | <Toggle field={form.$('beta')} /> |
773 | <ToggleRaw | ||
774 | field={{ | ||
775 | value: isNightlyEnabled, | ||
776 | id: 'nightly', | ||
777 | label: 'Include nightly versions', | ||
778 | name: 'Nightly builds', | ||
779 | }} | ||
780 | onChange={ | ||
781 | window['ferdi'].features.nightlyBuilds.toggleFeature | ||
782 | } | ||
783 | /> | ||
784 | {updateIsReadyToInstall ? ( | 770 | {updateIsReadyToInstall ? ( |
785 | <Button | 771 | <Button |
786 | label={intl.formatMessage(messages.buttonInstallUpdate)} | 772 | label={intl.formatMessage(messages.buttonInstallUpdate)} |