diff options
author | Thibaut Girka <thib@sitedethib.com> | 2020-10-27 10:52:50 +0100 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2020-10-27 11:20:11 +0100 |
commit | a81bb14abef08bb434caa0df8f15fcd8ecc85e41 (patch) | |
tree | 8bac9b021ff943e938a73a4acf0f48ef02e6e4c3 /app/javascript/flavours/glitch/features/local_settings/page/index.js | |
parent | c762ca49dc924ce32b512c2aece4d7d1e0229b5c (diff) |
Add option to hide notification markers
Diffstat (limited to 'app/javascript/flavours/glitch/features/local_settings/page/index.js')
-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 45d10d154..3af6cbdf6 100644 --- a/app/javascript/flavours/glitch/features/local_settings/page/index.js +++ b/app/javascript/flavours/glitch/features/local_settings/page/index.js @@ -113,6 +113,14 @@ class LocalSettingsPage extends React.PureComponent { <FormattedMessage id='settings.notifications.favicon_badge' defaultMessage='Unread notifications favicon badge' /> <span className='hint'><FormattedMessage id='settings.notifications.favicon_badge.hint' defaultMessage="Add a badge for unread notifications to the favicon" /></span> </LocalSettingsPageItem> + <LocalSettingsPageItem + settings={settings} + item={['notifications', 'show_unread']} + id='mastodon-settings--notifications-show_unread' + onChange={onChange} + > + <FormattedMessage id='settings.notifications.show_unread' defaultMessage='Show unread marker' /> + </LocalSettingsPageItem> </section> <section> <h2><FormattedMessage id='settings.layout_opts' defaultMessage='Layout options' /></h2> |