diff options
author | kibigo! <marrus-sh@users.noreply.github.com> | 2017-11-05 15:05:12 -0800 |
---|---|---|
committer | kibigo! <marrus-sh@users.noreply.github.com> | 2017-11-05 15:05:12 -0800 |
commit | e0298d66f8f807efe80cb01097b46e0ef33bd154 (patch) | |
tree | 4e8b6f7b2959bd627852367b21d28bbcc4a80d6e /app/javascript/glitch/components/local_settings | |
parent | 73bf0ea7d1675b46eb778c2d8a6129e1f7a0650e (diff) |
Autocollapse boosts option
Diffstat (limited to 'app/javascript/glitch/components/local_settings')
-rw-r--r-- | app/javascript/glitch/components/local_settings/page/index.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/app/javascript/glitch/components/local_settings/page/index.js b/app/javascript/glitch/components/local_settings/page/index.js index 366c113c0..498230f7b 100644 --- a/app/javascript/glitch/components/local_settings/page/index.js +++ b/app/javascript/glitch/components/local_settings/page/index.js @@ -126,6 +126,16 @@ export default class LocalSettingsPage extends React.PureComponent { </LocalSettingsPageItem> <LocalSettingsPageItem settings={settings} + item={['collapsed', 'auto', 'reblogs']} + id='mastodon-settings--collapsed-auto-reblogs' + onChange={onChange} + dependsOn={[['collapsed', 'enabled']]} + dependsOnNot={[['collapsed', 'auto', 'all']]} + > + <FormattedMessage id='settings.auto_collapse_reblogs' defaultMessage='Boosts' /> + </LocalSettingsPageItem> + <LocalSettingsPageItem + settings={settings} item={['collapsed', 'auto', 'replies']} id='mastodon-settings--collapsed-auto-replies' onChange={onChange} |