From 0d42b8629ea1d0f488c29df754582648294fac45 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Wed, 9 Oct 2019 23:20:59 +0100 Subject: [PATCH] remove SettingsFlag manualSave altogether Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- src/components/views/elements/SettingsFlag.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/views/elements/SettingsFlag.js b/src/components/views/elements/SettingsFlag.js index b4f372073c..a3a6d18d33 100644 --- a/src/components/views/elements/SettingsFlag.js +++ b/src/components/views/elements/SettingsFlag.js @@ -30,7 +30,6 @@ module.exports = createReactClass({ label: PropTypes.string, // untranslated onChange: PropTypes.func, isExplicit: PropTypes.bool, - manualSave: PropTypes.bool, }, getInitialState: function() { @@ -47,7 +46,7 @@ module.exports = createReactClass({ onChange: function(checked) { if (this.props.group && !checked) return; - if (!this.props.manualSave) this.save(checked); + this.save(checked); this.setState({ value: checked }); if (this.props.onChange) this.props.onChange(checked); },