Hide both list types
This commit is contained in:
@@ -186,7 +186,7 @@ function ProfileListScreenLoaded({
|
|||||||
if (isCurateList) {
|
if (isCurateList) {
|
||||||
return (
|
return (
|
||||||
<ScreenHider
|
<ScreenHider
|
||||||
screenDescription={_(msg`list`)}
|
screenDescription={'list'}
|
||||||
modui={moderation.ui('contentView')}>
|
modui={moderation.ui('contentView')}>
|
||||||
<View style={s.hContentRegion}>
|
<View style={s.hContentRegion}>
|
||||||
<PagerWithHeader
|
<PagerWithHeader
|
||||||
@@ -232,31 +232,39 @@ function ProfileListScreenLoaded({
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
<View style={s.hContentRegion}>
|
<ScreenHider
|
||||||
<PagerWithHeader
|
screenDescription={_(msg`list`)}
|
||||||
items={SECTION_TITLES_MOD}
|
modui={moderation.ui('contentView')}>
|
||||||
isHeaderReady={true}
|
<View style={s.hContentRegion}>
|
||||||
renderHeader={renderHeader}>
|
<PagerWithHeader
|
||||||
{({headerHeight, scrollElRef}) => (
|
items={SECTION_TITLES_MOD}
|
||||||
<AboutSection
|
isHeaderReady={true}
|
||||||
list={list}
|
renderHeader={renderHeader}>
|
||||||
scrollElRef={scrollElRef as ListRef}
|
{({headerHeight, scrollElRef}) => (
|
||||||
onPressAddUser={onPressAddUser}
|
<AboutSection
|
||||||
headerHeight={headerHeight}
|
list={list}
|
||||||
/>
|
scrollElRef={scrollElRef as ListRef}
|
||||||
)}
|
onPressAddUser={onPressAddUser}
|
||||||
</PagerWithHeader>
|
headerHeight={headerHeight}
|
||||||
<FAB
|
/>
|
||||||
testID="composeFAB"
|
)}
|
||||||
onPress={() => openComposer({})}
|
</PagerWithHeader>
|
||||||
icon={
|
<FAB
|
||||||
<ComposeIcon2 strokeWidth={1.5} size={29} style={{color: 'white'}} />
|
testID="composeFAB"
|
||||||
}
|
onPress={() => openComposer({})}
|
||||||
accessibilityRole="button"
|
icon={
|
||||||
accessibilityLabel={_(msg`New post`)}
|
<ComposeIcon2
|
||||||
accessibilityHint=""
|
strokeWidth={1.5}
|
||||||
/>
|
size={29}
|
||||||
</View>
|
style={{color: 'white'}}
|
||||||
|
/>
|
||||||
|
}
|
||||||
|
accessibilityRole="button"
|
||||||
|
accessibilityLabel={_(msg`New post`)}
|
||||||
|
accessibilityHint=""
|
||||||
|
/>
|
||||||
|
</View>
|
||||||
|
</ScreenHider>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user