Add option to hide action bar in collapsed toots

This commit is contained in:
Spencer Alves
2018-09-29 16:44:02 -07:00
committed by ThibG
parent c065717b67
commit 4e60a0d543
4 changed files with 15 additions and 1 deletions

View File

@ -566,7 +566,7 @@ export default class Status extends ImmutablePureComponent {
parseClick={parseClick}
disabled={!router}
/>
{!isCollapsed || !muted ? (
{!isCollapsed || !(muted || !settings.getIn(['collapsed', 'show_action_bar'])) ? (
<StatusActionBar
{...other}
status={status}