Fix icons on blurred posts (#3068)

zio/stable
Eric Bailey 2024-03-01 15:50:04 -06:00 committed by GitHub
parent cf8b03801f
commit f8aa5fd005
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ export function ContentHider({
) )
} }
const isMute = moderation.cause?.type === 'muted' const isMute = ['muted', 'muted-word'].includes(moderation.cause?.type || '')
const desc = describeModerationCause(moderation.cause, 'content') const desc = describeModerationCause(moderation.cause, 'content')
return ( return (
<View testID={testID} style={[styles.outer, style]}> <View testID={testID} style={[styles.outer, style]}>

View File

@ -47,7 +47,7 @@ export function PostHider({
) )
} }
const isMute = moderation.cause?.type === 'muted' const isMute = ['muted', 'muted-word'].includes(moderation.cause?.type || '')
const desc = describeModerationCause(moderation.cause, 'content') const desc = describeModerationCause(moderation.cause, 'content')
return !override ? ( return !override ? (
<Pressable <Pressable