about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/features/local_settings/page/index.js
diff options
context:
space:
mode:
authorAsh Levy <ashlea@protonmail.com>2018-07-08 21:24:51 -0400
committerThibG <thib@sitedethib.com>2018-07-12 11:22:34 +0200
commit6f06d16b1e74e8cb0f197d0c12651c875ded51c3 (patch)
tree34c7241b909edb1378ae56ee297d287ff55c4ba4 /app/javascript/flavours/glitch/features/local_settings/page/index.js
parent7cb7ecaf7ee10c74066ef20cd08d9004de738c15 (diff)
add option to enable auto visibility on secondary toot button
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 62bf410c6..8a09bb6f0 100644
--- a/app/javascript/flavours/glitch/features/local_settings/page/index.js
+++ b/app/javascript/flavours/glitch/features/local_settings/page/index.js
@@ -76,6 +76,14 @@ export default class LocalSettingsPage extends React.PureComponent {
           >
             <FormattedMessage id='settings.side_arm' defaultMessage='Secondary toot button:' />
           </LocalSettingsPageItem>
+          <LocalSettingsPageItem
+            settings={settings}
+            item={['side_arm_auto']}
+            id='mastodon-settings--side_arm_auto'
+            onChange={onChange}
+          >
+            <FormattedMessage id='settings.side_arm_auto' defaultMessage='Auto privacy for secondary toot button' />
+          </LocalSettingsPageItem>
         </section>
       </div>
     ),