From 55f4a0cb441241f0cf867bf0fc3ceb5214ec036e 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); },