diff options
Diffstat (limited to 'src/components/settings/settings/EditSettingsForm.js')
-rw-r--r-- | src/components/settings/settings/EditSettingsForm.js | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/components/settings/settings/EditSettingsForm.js b/src/components/settings/settings/EditSettingsForm.js index 19333fdff..da9d72009 100644 --- a/src/components/settings/settings/EditSettingsForm.js +++ b/src/components/settings/settings/EditSettingsForm.js | |||
@@ -26,6 +26,10 @@ const messages = defineMessages({ | |||
26 | id: 'settings.app.serverInfo', | 26 | id: 'settings.app.serverInfo', |
27 | defaultMessage: '!!!We advice you to logout after changing your server as your settings might not be saved otherwise.', | 27 | defaultMessage: '!!!We advice you to logout after changing your server as your settings might not be saved otherwise.', |
28 | }, | 28 | }, |
29 | todoServerInfo: { | ||
30 | id: 'settings.app.todoServerInfo', | ||
31 | defaultMessage: '!!!This server will be used for the "Franz Todo" feature. The default server will only work for premium users. (default: https://app.franztodos.com)' | ||
32 | }, | ||
29 | headlineLanguage: { | 33 | headlineLanguage: { |
30 | id: 'settings.app.headlineLanguage', | 34 | id: 'settings.app.headlineLanguage', |
31 | defaultMessage: '!!!Language', | 35 | defaultMessage: '!!!Language', |
@@ -181,7 +185,16 @@ export default @observer class EditSettingsForm extends Component { | |||
181 | <p>{ intl.formatMessage(messages.serverInfo) }</p> | 185 | <p>{ intl.formatMessage(messages.serverInfo) }</p> |
182 | )} | 186 | )} |
183 | {isTodosEnabled && ( | 187 | {isTodosEnabled && ( |
184 | <Toggle field={form.$('enableTodos')} /> | 188 | <> |
189 | <Toggle field={form.$('enableTodos')} /> | ||
190 | <Input | ||
191 | placeholder="Todo Server" | ||
192 | onChange={e => this.submit(e)} | ||
193 | field={form.$('todoServer')} | ||
194 | autoFocus | ||
195 | /> | ||
196 | <p>{ intl.formatMessage(messages.todoServerInfo) }</p> | ||
197 | </> | ||
185 | )} | 198 | )} |
186 | 199 | ||
187 | {/* Appearance */} | 200 | {/* Appearance */} |