Skip to content

Commit

Permalink
fix(rn): avatar for android
Browse files Browse the repository at this point in the history
Signed-off-by: Godefroy Ponsinet <godefroy.ponsinet@outlook.com>
  • Loading branch information
90dy committed Jul 11, 2019
1 parent d0f7d40 commit e91e62b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion client/react-native/app/view/component/Avatar.js
Expand Up @@ -59,14 +59,18 @@ const Avatar = ({
borderRadius: size / 2,
margin: margin,
backgroundColor: pastels[colorIdx].light,
justifyContent: 'center',
alignItems: 'center',
flexDirection: 'col',
},
...style,
]}
>
<Text
style={{
alignItems: 'center',
flexDirection: 'row',
color: pastels[colorIdx].default,
paddingTop: size / 4.4,
fontSize: size / 2.2,
textAlign: 'center',
}}
Expand Down

0 comments on commit e91e62b

Please sign in to comment.