diff --git a/src/screens/ProfileModerationService/index.tsx b/src/screens/ProfileModerationService/index.tsx index d6bdcb45a5..03db5c9480 100644 --- a/src/screens/ProfileModerationService/index.tsx +++ b/src/screens/ProfileModerationService/index.tsx @@ -140,6 +140,9 @@ export function ProfileModserviceScreenInner({ p => p.did === modservice.creator.did, ) }, [modservice.creator.did, preferences.moderationOpts.mods]) + const isSubscribed = preferences.moderationOpts.mods.find( + mod => mod.did === modservice.creator.did, + ) const isEnabled = Boolean( enabledVariables?.enabled ?? preferences.moderationOpts.mods.find( @@ -248,61 +251,58 @@ export function ProfileModserviceScreenInner({ - - - Configure moderation service - - - This labeler moderates the following types of content. You can - optionally enable or disable the labeler's recommendations for each - type of content below. - - - - - - - - - This service is {isEnabled ? 'enabled' : 'disabled'} - - - Optionally disable this service without affecting your - subscription. - - - + {isSubscribed ? ( + + + Settings + + Enable or disable labels from this service. + - - - + + {isEnabled ? 'Enabled' : 'Disabled'} + + + + ) : ( + + Labels + + This labeler moderates the following types of content. + + + )} + + {groups.map((def, i) => { return ( {i !== 0 && } - + + + ) })}