fixed 404 avatar position

This commit is contained in:
u-e 2019-05-25 14:43:24 +03:00
parent 57a90bbe9d
commit 997da8e1f2
2 changed files with 9 additions and 1 deletions

View File

@ -53,6 +53,10 @@ export default EStyleSheet.create({
alignSelf: 'flex-end',
marginRight: 12,
},
reverseAvatar: {
alignSelf: 'flex-start',
marginLeft: 12,
},
backIcon: {
fontSize: 24,
color: '$iconColor',

View File

@ -77,7 +77,11 @@ class HeaderView extends Component {
isReverse ? styles.avatarButtonWrapperReverse : styles.avatarDefault,
]}
>
<UserAvatar noAction style={styles.avatar} username={username} />
<UserAvatar
noAction
style={isReverse ? styles.reverseAvatar : styles.avatar}
username={username}
/>
</LinearGradient>
</TouchableOpacity>
{displayName || username ? (