Fix space on bottom of mod screen (#3266)
* Fix space on bottom of mod screen * fix PWI label overflow + center loader (#3268) --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>zio/stable
parent
2a5b0ab2ac
commit
877eab0fe3
|
@ -205,7 +205,6 @@ export function ModerationScreenInner({
|
||||||
)
|
)
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<View>
|
|
||||||
<ScrollView
|
<ScrollView
|
||||||
contentContainerStyle={[
|
contentContainerStyle={[
|
||||||
a.border_0,
|
a.border_0,
|
||||||
|
@ -355,9 +354,7 @@ export function ModerationScreenInner({
|
||||||
<>
|
<>
|
||||||
<GlobalModerationLabelPref labelValueDefinition={LABELS.porn} />
|
<GlobalModerationLabelPref labelValueDefinition={LABELS.porn} />
|
||||||
<Divider />
|
<Divider />
|
||||||
<GlobalModerationLabelPref
|
<GlobalModerationLabelPref labelValueDefinition={LABELS.sexual} />
|
||||||
labelValueDefinition={LABELS.sexual}
|
|
||||||
/>
|
|
||||||
<Divider />
|
<Divider />
|
||||||
<GlobalModerationLabelPref
|
<GlobalModerationLabelPref
|
||||||
labelValueDefinition={LABELS['graphic-media']}
|
labelValueDefinition={LABELS['graphic-media']}
|
||||||
|
@ -381,7 +378,9 @@ export function ModerationScreenInner({
|
||||||
</Text>
|
</Text>
|
||||||
|
|
||||||
{isLabelersLoading ? (
|
{isLabelersLoading ? (
|
||||||
<Loader />
|
<View style={[a.w_full, a.align_center, a.p_lg]}>
|
||||||
|
<Loader size="xl" />
|
||||||
|
</View>
|
||||||
) : labelersError || !labelers ? (
|
) : labelersError || !labelers ? (
|
||||||
<View style={[a.p_lg, a.rounded_sm, t.atoms.bg_contrast_25]}>
|
<View style={[a.p_lg, a.rounded_sm, t.atoms.bg_contrast_25]}>
|
||||||
<Text>
|
<Text>
|
||||||
|
@ -449,7 +448,6 @@ export function ModerationScreenInner({
|
||||||
|
|
||||||
<View style={{height: 200}} />
|
<View style={{height: 200}} />
|
||||||
</ScrollView>
|
</ScrollView>
|
||||||
</View>
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -517,11 +515,12 @@ function PwiOptOut() {
|
||||||
value={isOptedOut}
|
value={isOptedOut}
|
||||||
onChange={onToggleOptOut}
|
onChange={onToggleOptOut}
|
||||||
name="logged_out_visibility"
|
name="logged_out_visibility"
|
||||||
|
style={a.flex_1}
|
||||||
label={_(
|
label={_(
|
||||||
msg`Discourage apps from showing my account to logged-out users`,
|
msg`Discourage apps from showing my account to logged-out users`,
|
||||||
)}>
|
)}>
|
||||||
<Toggle.Switch />
|
<Toggle.Switch />
|
||||||
<Toggle.Label style={[a.text_md]}>
|
<Toggle.Label style={[a.text_md, a.flex_1]}>
|
||||||
<Trans>
|
<Trans>
|
||||||
Discourage apps from showing my account to logged-out users
|
Discourage apps from showing my account to logged-out users
|
||||||
</Trans>
|
</Trans>
|
||||||
|
|
Loading…
Reference in New Issue