mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-11 06:51:23 +03:00
fixed 404 avatar position
This commit is contained in:
parent
57a90bbe9d
commit
997da8e1f2
@ -53,6 +53,10 @@ export default EStyleSheet.create({
|
||||
alignSelf: 'flex-end',
|
||||
marginRight: 12,
|
||||
},
|
||||
reverseAvatar: {
|
||||
alignSelf: 'flex-start',
|
||||
marginLeft: 12,
|
||||
},
|
||||
backIcon: {
|
||||
fontSize: 24,
|
||||
color: '$iconColor',
|
||||
|
@ -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 ? (
|
||||
|
Loading…
Reference in New Issue
Block a user