diff options
author | Thibaut Girka <thib@sitedethib.com> | 2018-10-30 14:46:48 +0100 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2018-10-30 17:51:06 +0100 |
commit | 7e18e95716052d5566f2e31559cbe4a68268f493 (patch) | |
tree | bcb6fa8dd5ee80d50f3d7339f86d75b126910a4f /app/javascript/flavours/glitch/features | |
parent | bdc23388334f9d683d3829c5880cc6064cc994d0 (diff) |
Add a local setting for inline preview cards
Diffstat (limited to 'app/javascript/flavours/glitch/features')
-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 4f1b8525f..6defdfbb6 100644 --- a/app/javascript/flavours/glitch/features/local_settings/page/index.js +++ b/app/javascript/flavours/glitch/features/local_settings/page/index.js @@ -304,6 +304,14 @@ export default class LocalSettingsPage extends React.PureComponent { > <FormattedMessage id='settings.media_fullwidth' defaultMessage='Full-width media previews' /> </LocalSettingsPageItem> + <LocalSettingsPageItem + settings={settings} + item={['inline_preview_cards']} + id='mastodon-settings--inline-preview-cards' + onChange={onChange} + > + <FormattedMessage id='settings.inline_preview_cards' defaultMessage='Inline preview cards for external links' /> + </LocalSettingsPageItem> </div> ), ]; |