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);
}
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={[]} />
</View>
<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={[]} />
)
}}
keyExtractor={(profile) => profile.guid}

View File

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