Emoji: Statuses (#36393)

This commit is contained in:
Echo 2025-10-08 16:18:11 +02:00 committed by GitHub
parent 2b213e9b1b
commit 0c1ca6c969
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 121 additions and 78 deletions

View file

@ -394,17 +394,13 @@ export const DetailedStatus: React.FC<{
/>
)}
{status.get('spoiler_text').length > 0 &&
(!matchedFilters || showDespiteFilter) && (
<ContentWarning
text={
status.getIn(['translation', 'spoilerHtml']) ||
status.get('spoilerHtml')
}
expanded={expanded}
onClick={handleExpandedToggle}
/>
)}
{(!matchedFilters || showDespiteFilter) && (
<ContentWarning
status={status}
expanded={expanded}
onClick={handleExpandedToggle}
/>
)}
{expanded && (
<>