[Glitch] Add warning for sensitive audio posts
Port e6979aa6d4
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
committed by
Claire
parent
e2a7a458d6
commit
41fa50ac86
@@ -165,7 +165,11 @@ class DetailedStatus extends ImmutablePureComponent {
|
||||
backgroundColor={attachment.getIn(['meta', 'colors', 'background'])}
|
||||
foregroundColor={attachment.getIn(['meta', 'colors', 'foreground'])}
|
||||
accentColor={attachment.getIn(['meta', 'colors', 'accent'])}
|
||||
sensitive={status.get('sensitive')}
|
||||
visible={this.props.showMedia}
|
||||
blurhash={attachment.get('blurhash')}
|
||||
height={150}
|
||||
onToggleVisibility={this.props.onToggleMediaVisibility}
|
||||
/>,
|
||||
);
|
||||
mediaIcons.push('music');
|
||||
|
Reference in New Issue
Block a user