diff options
author | Thibaut Girka <thib@sitedethib.com> | 2018-11-27 18:25:51 +0100 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2018-12-18 21:54:34 +0100 |
commit | 9a7201f2ee8c428172840f4d842eb84ee2f24929 (patch) | |
tree | 80ad4e015d8a807bcea50467de2a771073e9a2ae /app/javascript/flavours/glitch/features/local_settings/page | |
parent | 056a8a8ee48e79993f42a910b86d70523aa9f0ae (diff) |
Allow disabling the reply confirmation dialog
Diffstat (limited to 'app/javascript/flavours/glitch/features/local_settings/page')
-rw-r--r-- | app/javascript/flavours/glitch/features/local_settings/page/index.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/features/local_settings/page/index.js b/app/javascript/flavours/glitch/features/local_settings/page/index.js index 6defdfbb6..0b607a05d 100644 --- a/app/javascript/flavours/glitch/features/local_settings/page/index.js +++ b/app/javascript/flavours/glitch/features/local_settings/page/index.js @@ -128,6 +128,14 @@ export default class LocalSettingsPage extends React.PureComponent { </LocalSettingsPageItem> <LocalSettingsPageItem settings={settings} + item={['confirm_before_clearing_draft']} + id='mastodon-settings--confirm_before_clearing_draft' + onChange={onChange} + > + <FormattedMessage id='settings.confirm_before_clearing_draft' defaultMessage='Show confirmation dialog before clearing draft' /> + </LocalSettingsPageItem> + <LocalSettingsPageItem + settings={settings} item={['side_arm']} id='mastodon-settings--side_arm' options={[ |