dont use ViewHeader

This commit is contained in:
Hailey
2024-06-03 16:17:02 -07:00
parent b38eb0b8a1
commit 59da447d44
+14 -5
View File
@@ -30,7 +30,6 @@ import {Text} from '../util/text/Text'
import * as Toast from '../util/Toast'
import {UserAvatar} from '../util/UserAvatar'
import hairlineWidth = StyleSheet.hairlineWidth
import {ViewHeader} from 'view/com/util/ViewHeader'
export const snapPoints = ['fullscreen']
@@ -69,10 +68,20 @@ export function Component({
return (
<View testID="userAddRemoveListsModal" style={s.hContentRegion}>
<ViewHeader
title={_(msg`Update ${displayName} in Lists`)}
showBackButton={false}
/>
<Text
style={[
{
textAlign: 'center',
fontWeight: 'bold',
fontSize: 20,
marginBottom: 12,
paddingHorizontal: 12,
},
pal.text,
]}
numberOfLines={1}>
<Trans>Update {displayName} in Lists</Trans>
</Text>
<MyLists
filter="all"
inline