diff options
author | Ash Levy <ashlea@protonmail.com> | 2018-07-08 21:24:51 -0400 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2018-07-12 11:22:34 +0200 |
commit | 6f06d16b1e74e8cb0f197d0c12651c875ded51c3 (patch) | |
tree | 34c7241b909edb1378ae56ee297d287ff55c4ba4 /app/javascript/flavours/glitch/features/composer | |
parent | 7cb7ecaf7ee10c74066ef20cd08d9004de738c15 (diff) |
add option to enable auto visibility on secondary toot button
Diffstat (limited to 'app/javascript/flavours/glitch/features/composer')
-rw-r--r-- | app/javascript/flavours/glitch/features/composer/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/features/composer/index.js b/app/javascript/flavours/glitch/features/composer/index.js index 95cb93f30..72948253d 100644 --- a/app/javascript/flavours/glitch/features/composer/index.js +++ b/app/javascript/flavours/glitch/features/composer/index.js @@ -67,7 +67,7 @@ function mapStateToProps (state) { replyAccount: inReplyTo ? state.getIn(['statuses', inReplyTo, 'account']) : null, replyContent: inReplyTo ? state.getIn(['statuses', inReplyTo, 'contentHtml']) : null, resetFileKey: state.getIn(['compose', 'resetFileKey']), - sideArm: state.getIn(['local_settings', 'side_arm']), + sideArm: (state.getIn(['local_settings', 'side_arm_auto']) ? state.getIn(['compose', 'reply_privacy']) : null) || state.getIn(['local_settings', 'side_arm']), sensitive: state.getIn(['compose', 'sensitive']), showSearch: state.getIn(['search', 'submitted']) && !state.getIn(['search', 'hidden']), spoiler: state.getIn(['compose', 'spoiler']), |