This commit is contained in:
Paul Frazee
2024-03-04 16:33:07 -08:00
parent f99307033c
commit b26e280373
2 changed files with 2 additions and 10 deletions
@@ -17,7 +17,6 @@ export function ModerationLabelPref({
labelValueDefinition: InterprettedLabelValueDefinition
disabled?: boolean
}) {
console.log({labelValueDefinition})
const t = useTheme()
const allLabelStrings = useLabelStrings()
const labelStrings = labelValueDefinition.locales[0] // TODO look up locale
+2 -9
View File
@@ -135,19 +135,12 @@ export function ProfileLabelsSectionInner({
) : null}
</View>
{labelDefs.length > 0 && (
<View
style={[
a.mt_xl,
t.atoms.bg_contrast_25,
a.rounded_md,
a.border,
t.atoms.border_contrast_low,
]}>
<View style={[a.mt_xl, t.atoms.bg_contrast_25, a.rounded_md, a.py_xs]}>
{labelDefs.map((labelDef, i) => {
return (
<React.Fragment key={labelDef.identifier}>
{i !== 0 && <Divider />}
<View style={[a.py_lg, a.px_md]}>
<View style={[a.py_md, a.px_md]}>
<ModerationLabelPref
disabled={isSubscribed ? undefined : true}
labelValueDefinition={labelDef}