mirror of
https://github.com/balzack/databag.git
synced 2025-04-24 02:25:26 +00:00
styling drawers
This commit is contained in:
parent
5796f7e863
commit
fc29f2b2e5
@ -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}
|
||||
|
@ -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={{
|
||||
|
Loading…
x
Reference in New Issue
Block a user