styling drawers

This commit is contained in:
balzack 2024-10-22 14:42:09 -07:00
parent 5796f7e863
commit fc29f2b2e5
2 changed files with 2 additions and 6 deletions

View File

@ -40,9 +40,7 @@ export function Registry({ close, openContact }: { close: ()=>void, openContact:
openContact(params); openContact(params);
} }
return ( return (
<View style={{ borderRightWidth: 2 }}> <Card containerStyle={{ ...styles.card, borderColor: theme.colors.outlineVariant }} imageUrl={item.imageUrl} name={item.name} handle={item.handle} node={item.node} placeholder={state.strings.name} select={select} actions={[]} />
<Card containerStyle={{ ...styles.card, borderColor: theme.colors.outlineVariant }} imageUrl={item.imageUrl} name={item.name} handle={item.handle} node={item.node} placeholder={state.strings.name} select={select} actions={[]} />
</View>
) )
}} }}
keyExtractor={(profile) => profile.guid} keyExtractor={(profile) => profile.guid}

View File

@ -162,9 +162,7 @@ function RegistryScreen({nav}) {
id="RegistryDrawer" id="RegistryDrawer"
drawerContent={() => ( drawerContent={() => (
<Surface elevation={1}> <Surface elevation={1}>
<SafeAreaView> <Registry openContact={(params: ContactParams)=>{console.log('opencon', params)}} />
<Registry openContact={(params: ContactParams)=>{console.log('opencon', params)}} />
</SafeAreaView>
</Surface> </Surface>
)} )}
screenOptions={{ screenOptions={{