dont use ViewHeader
This commit is contained in:
@@ -30,7 +30,6 @@ import {Text} from '../util/text/Text'
|
|||||||
import * as Toast from '../util/Toast'
|
import * as Toast from '../util/Toast'
|
||||||
import {UserAvatar} from '../util/UserAvatar'
|
import {UserAvatar} from '../util/UserAvatar'
|
||||||
import hairlineWidth = StyleSheet.hairlineWidth
|
import hairlineWidth = StyleSheet.hairlineWidth
|
||||||
import {ViewHeader} from 'view/com/util/ViewHeader'
|
|
||||||
|
|
||||||
export const snapPoints = ['fullscreen']
|
export const snapPoints = ['fullscreen']
|
||||||
|
|
||||||
@@ -69,10 +68,20 @@ export function Component({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<View testID="userAddRemoveListsModal" style={s.hContentRegion}>
|
<View testID="userAddRemoveListsModal" style={s.hContentRegion}>
|
||||||
<ViewHeader
|
<Text
|
||||||
title={_(msg`Update ${displayName} in Lists`)}
|
style={[
|
||||||
showBackButton={false}
|
{
|
||||||
/>
|
textAlign: 'center',
|
||||||
|
fontWeight: 'bold',
|
||||||
|
fontSize: 20,
|
||||||
|
marginBottom: 12,
|
||||||
|
paddingHorizontal: 12,
|
||||||
|
},
|
||||||
|
pal.text,
|
||||||
|
]}
|
||||||
|
numberOfLines={1}>
|
||||||
|
<Trans>Update {displayName} in Lists</Trans>
|
||||||
|
</Text>
|
||||||
<MyLists
|
<MyLists
|
||||||
filter="all"
|
filter="all"
|
||||||
inline
|
inline
|
||||||
|
|||||||
Reference in New Issue
Block a user