about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/features/local_settings/page/index.js
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2020-10-27 10:52:50 +0100
committerThibG <thib@sitedethib.com>2020-10-27 11:20:11 +0100
commita81bb14abef08bb434caa0df8f15fcd8ecc85e41 (patch)
tree8bac9b021ff943e938a73a4acf0f48ef02e6e4c3 /app/javascript/flavours/glitch/features/local_settings/page/index.js
parentc762ca49dc924ce32b512c2aece4d7d1e0229b5c (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.js8
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>