Fix for different avatar

This commit is contained in:
Mustafa Buyukcelebi 2019-09-28 13:17:25 +03:00
parent 1b91103b4e
commit a412bcddc1

View File

@ -105,11 +105,7 @@ class SideMenuView extends Component {
>
{isLoggedIn && (
<View style={styles.headerContentWrapper}>
<UserAvatar
username={currentAccount.username}
size="xl"
style={styles.userAvatar}
/>
<UserAvatar username={currentAccount.name} size="xl" style={styles.userAvatar} />
<View style={styles.userInfoWrapper}>
{currentAccount.display_name && (
<Text numberOfLines={1} ellipsizeMode="tail" style={styles.username}>