diff options
author | Eric Bailey <git@esb.lol> | 2024-03-21 12:21:36 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-21 12:21:36 -0500 |
commit | 5f39ca31872af0554d79d9a6d0b070110385e9bd (patch) | |
tree | bdb1c9eb4d9e6e7aafe17f67999b83540e1e8df3 /src/screens/Profile/Sections/Labels.tsx | |
parent | 4ff2bb7abaac0eb8152d688ab7c71df84e725d3a (diff) | |
download | voidsky-5f39ca31872af0554d79d9a6d0b070110385e9bd.tar.zst |
Mods UI fixes (#3296)
* Fix report dialog buttons on Android by adjusting styles * Dry up label pref comp
Diffstat (limited to 'src/screens/Profile/Sections/Labels.tsx')
-rw-r--r-- | src/screens/Profile/Sections/Labels.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/screens/Profile/Sections/Labels.tsx b/src/screens/Profile/Sections/Labels.tsx index 08db4a861..2b2b99594 100644 --- a/src/screens/Profile/Sections/Labels.tsx +++ b/src/screens/Profile/Sections/Labels.tsx @@ -23,7 +23,7 @@ import {Loader} from '#/components/Loader' import {Divider} from '#/components/Divider' import {CenteredView, ScrollView} from '#/view/com/util/Views' import {ErrorState} from '../ErrorState' -import {ModerationLabelPref} from '#/components/moderation/ModerationLabelPref' +import {LabelerLabelPreference} from '#/components/moderation/LabelPreference' import {CircleInfo_Stroke2_Corner0_Rounded as CircleInfo} from '#/components/icons/CircleInfo' interface LabelsSectionProps { @@ -197,9 +197,9 @@ export function ProfileLabelsSectionInner({ return ( <React.Fragment key={labelDef.identifier}> {i !== 0 && <Divider />} - <ModerationLabelPref + <LabelerLabelPreference disabled={isSubscribed ? undefined : true} - labelValueDefinition={labelDef} + labelDefinition={labelDef} labelerDid={labelerInfo.creator.did} /> </React.Fragment> |