updated a bit

This commit is contained in:
u-e 2019-01-11 13:34:56 +03:00
commit 0e1ca71772
3 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@ const UserListItem = ({
>
<View style={[styles.voteItemWrapper, index % 2 !== 0 && styles.voteItemWrapperGray]}>
{itemIndex && <Text style={styles.itemIndex}>{itemIndex}</Text>}
<UserAvatar noAction={userCanPress} style={[styles.avatar]} username={username} />
<UserAvatar noAction={userCanPress} style={styles.avatar} username={username} />
<View style={styles.userDescription}>
<Text style={styles.name}>{username}</Text>
{description && <Text style={styles.date}>{description}</Text>}

View File

@ -6,7 +6,7 @@ import FastImage from 'react-native-fast-image';
import styles from './userAvatarStyles';
// Constants
import { default as ROUTES } from '../../../constants/routeNames';
import ROUTES from '../../../constants/routeNames';
const DEFAULT_IMAGE = require('../../../assets/avatar_default.png');

View File

@ -7,7 +7,7 @@ import { injectIntl } from 'react-intl';
import { getFavorites, removeFavoriteUser } from '../../../providers/esteem/esteem';
// Constants
import { default as ROUTES } from '../../../constants/routeNames';
import ROUTES from '../../../constants/routeNames';
// Utilities