File tree Expand file tree Collapse file tree 1 file changed +13
-6
lines changed
Expand file tree Collapse file tree 1 file changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -17,14 +17,19 @@ const styles = StyleSheet.create({
1717 borderRadius : 10 ,
1818 marginBottom : 20
1919 } ,
20- avatar : {
20+ avatarContainer : {
2121 width : 40 ,
2222 height : 40 ,
2323 borderRadius : 20 ,
2424 borderColor : 'white' ,
2525 borderWidth : 1.5 ,
2626 borderStyle : 'solid'
2727 } ,
28+ avatar : {
29+ width : 40 ,
30+ height : 40 ,
31+ borderRadius : 20 ,
32+ } ,
2833 extra : {
2934 backgroundColor : '#b6c0ca' ,
3035 justifyContent : 'center' ,
@@ -40,11 +45,13 @@ const styles = StyleSheet.create({
4045function renderFace ( face , index ) {
4146 return (
4247 < View key = { face . id || index } style = { styles . circle } >
43- < Image
44- style = { styles . avatar }
45- source = { { uri : face . imageUrl } }
46- resizeMode = 'contain'
47- />
48+ < View style = { styles . avatarContainer } >
49+ < Image
50+ style = { styles . avatar }
51+ source = { { uri : face . imageUrl } }
52+ resizeMode = 'contain'
53+ />
54+ </ View >
4855 </ View >
4956 )
5057}
You can’t perform that action at this time.
0 commit comments