aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/settings
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/settings')
-rw-r--r--src/components/settings/settings/EditSettingsForm.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/components/settings/settings/EditSettingsForm.js b/src/components/settings/settings/EditSettingsForm.js
index 3f9e0a6bc..ff30daed2 100644
--- a/src/components/settings/settings/EditSettingsForm.js
+++ b/src/components/settings/settings/EditSettingsForm.js
@@ -101,6 +101,7 @@ export default @observer class EditSettingsForm extends Component {
101 onClearAllCache: PropTypes.func.isRequired, 101 onClearAllCache: PropTypes.func.isRequired,
102 cacheSize: PropTypes.string.isRequired, 102 cacheSize: PropTypes.string.isRequired,
103 isSpellcheckerIncludedInCurrentPlan: PropTypes.bool.isRequired, 103 isSpellcheckerIncludedInCurrentPlan: PropTypes.bool.isRequired,
104 isTodosEnabled: PropTypes.bool.isRequired,
104 }; 105 };
105 106
106 static contextTypes = { 107 static contextTypes = {
@@ -131,6 +132,7 @@ export default @observer class EditSettingsForm extends Component {
131 onClearAllCache, 132 onClearAllCache,
132 cacheSize, 133 cacheSize,
133 isSpellcheckerIncludedInCurrentPlan, 134 isSpellcheckerIncludedInCurrentPlan,
135 isTodosEnabled,
134 } = this.props; 136 } = this.props;
135 const { intl } = this.context; 137 const { intl } = this.context;
136 138
@@ -162,6 +164,9 @@ export default @observer class EditSettingsForm extends Component {
162 {process.platform === 'win32' && ( 164 {process.platform === 'win32' && (
163 <Toggle field={form.$('minimizeToSystemTray')} /> 165 <Toggle field={form.$('minimizeToSystemTray')} />
164 )} 166 )}
167 {isTodosEnabled && (
168 <Toggle field={form.$('enableTodos')} />
169 )}
165 170
166 {/* Appearance */} 171 {/* Appearance */}
167 <h2 id="apperance">{intl.formatMessage(messages.headlineAppearance)}</h2> 172 <h2 id="apperance">{intl.formatMessage(messages.headlineAppearance)}</h2>