[Glitch] Add privacy icons to report modal

Port d2f7e30a28 to glitch-soc
remotes/1703361221475462875/rebase/4.0.0rc1
Claire 2022-10-02 18:23:14 +02:00
parent e7ab476db2
commit e18ba67727
1 changed files with 2 additions and 1 deletions

View File

@ -7,6 +7,7 @@ import DisplayName from 'flavours/glitch/components/display_name';
import RelativeTimestamp from 'flavours/glitch/components/relative_timestamp';
import Option from './option';
import MediaAttachments from 'flavours/glitch/components/media_attachments';
import VisibilityIcon from 'flavours/glitch/components/status_visibility_icon';
export default class StatusCheckBox extends React.PureComponent {
@ -36,7 +37,7 @@ export default class StatusCheckBox extends React.PureComponent {
<Avatar account={status.get('account')} size={46} />
</div>
<div><DisplayName account={status.get('account')} /> · <RelativeTimestamp timestamp={status.get('created_at')} /></div>
<div><DisplayName account={status.get('account')} /> · <VisibilityIcon visibility={status.get('visibility')} /><RelativeTimestamp timestamp={status.get('created_at')} /></div>
</div>
<StatusContent status={status} media={<MediaAttachments status={status} revealed={false} />} />