use different labels for porn
and sexual
(#3282)
* use different labels for `porn` and `sexual` * newline
This commit is contained in:
parent
bdf77f8548
commit
a90566d864
2 changed files with 9 additions and 5 deletions
|
@ -118,11 +118,15 @@ export function useModerationCauseDescription(
|
|||
(labeler?.creator.handle ? '@' + labeler?.creator.handle : undefined)
|
||||
if (!source) {
|
||||
if (cause.label.src === BSKY_LABELER_DID) {
|
||||
source = 'Bluesky Moderation'
|
||||
source = 'Bluesky Moderation Service'
|
||||
} else {
|
||||
source = cause.label.src
|
||||
}
|
||||
}
|
||||
if (def.identifier === 'porn' || def.identifier === 'sexual') {
|
||||
strings.name = 'Adult Content'
|
||||
}
|
||||
|
||||
return {
|
||||
icon:
|
||||
def.identifier === '!no-unauthenticated'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue