1
0
Fork 0
forked from gitea/nas

Fix card blur when cw post

This commit is contained in:
KMY 2023-08-18 18:53:15 +09:00
parent 84efc24e06
commit 87a8da93e8
2 changed files with 2 additions and 2 deletions

View file

@ -558,7 +558,7 @@ class Status extends ImmutablePureComponent {
onOpenMedia={this.handleOpenMedia}
card={status.get('card')}
compact
sensitive={status.get('sensitive')}
sensitive={status.get('sensitive') && !status.get('spoiler_text')}
/>
);
isCardMediaWithSensitive = status.get('spoiler_text').length > 0;