Hide both list types

This commit is contained in:
Eric Bailey
2024-07-24 16:59:17 -05:00
parent e84b19d15d
commit 52f25999c0
+10 -2
View File
@@ -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,6 +232,9 @@ function ProfileListScreenLoaded({
) )
} }
return ( return (
<ScreenHider
screenDescription={_(msg`list`)}
modui={moderation.ui('contentView')}>
<View style={s.hContentRegion}> <View style={s.hContentRegion}>
<PagerWithHeader <PagerWithHeader
items={SECTION_TITLES_MOD} items={SECTION_TITLES_MOD}
@@ -250,13 +253,18 @@ function ProfileListScreenLoaded({
testID="composeFAB" testID="composeFAB"
onPress={() => openComposer({})} onPress={() => openComposer({})}
icon={ icon={
<ComposeIcon2 strokeWidth={1.5} size={29} style={{color: 'white'}} /> <ComposeIcon2
strokeWidth={1.5}
size={29}
style={{color: 'white'}}
/>
} }
accessibilityRole="button" accessibilityRole="button"
accessibilityLabel={_(msg`New post`)} accessibilityLabel={_(msg`New post`)}
accessibilityHint="" accessibilityHint=""
/> />
</View> </View>
</ScreenHider>
) )
} }