Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
estrattonbailey committed Mar 18, 2024
1 parent 970a1b0 commit 75638a9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
4 changes: 3 additions & 1 deletion src/components/ReportDialog/SelectReportOptionView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,9 @@ export function SelectReportOptionView({
size="small"
variant="solid"
color="secondary">
<ButtonText><Trans>View details</Trans></ButtonText>
<ButtonText>
<Trans>View details</Trans>
</ButtonText>
<ButtonIcon position="right" icon={SquareArrowTopRight} />
</Link>
</View>
Expand Down
5 changes: 2 additions & 3 deletions src/components/moderation/LabelsOnMe.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export function LabelsOnMe({
return null
}

const labelTarget = isAccount ? _(msg`account`) : _(msg`content`)
const labelTarget = isAccount ? _(msg`account`) : _(msg`content`)
return (
<View style={[a.flex_row, style]}>
<LabelsOnMeDialog control={control} subject={details} labels={labels} />
Expand All @@ -58,8 +58,7 @@ const labelTarget = isAccount ? _(msg`account`) : _(msg`content`)
{labels.length === 1 ? (
<Trans>label has been placed on this {labelTarget}</Trans>
) : (
<Trans>labels have been placed on this {labelTarget}
</Trans>
<Trans>labels have been placed on this {labelTarget}</Trans>
)}
</ButtonText>
</Button>
Expand Down
4 changes: 3 additions & 1 deletion src/screens/Moderation/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,9 @@ function PwiOptOut() {
)}>
<Toggle.Switch />
<Toggle.Label style={[a.text_md]}>
<Trans>Discourage apps from showing my account to logged-out users</Trans>
<Trans>
Discourage apps from showing my account to logged-out users
</Trans>
</Toggle.Label>
</Toggle.Item>

Expand Down

0 comments on commit 75638a9

Please sign in to comment.