Fix typo
parent
fd6a2b1b40
commit
d0b94d7570
|
@ -21,7 +21,7 @@ import Swipeable from 'react-native-gesture-handler/Swipeable'
|
|||
import LinearGradient from 'react-native-linear-gradient'
|
||||
import {useStores} from '../../../state'
|
||||
import {s, colors, gradients} from '../../lib/styles'
|
||||
import {DEF_AVATER} from '../../lib/assets'
|
||||
import {DEF_AVATAR} from '../../lib/assets'
|
||||
import {match} from '../../routes'
|
||||
import {LinkActionsModel} from '../../../state/models/shell'
|
||||
|
||||
|
@ -146,7 +146,7 @@ export const Component = observer(() => {
|
|||
<TouchableOpacity
|
||||
style={styles.fatMenuItem}
|
||||
onPress={() => onNavigate(`/profile/${store.me.name || ''}`)}>
|
||||
<Image style={styles.fatMenuImage} source={DEF_AVATER} />
|
||||
<Image style={styles.fatMenuImage} source={DEF_AVATAR} />
|
||||
<Text style={styles.fatMenuItemLabel} numberOfLines={1}>
|
||||
{store.me.displayName || store.me.name || 'My profile'}
|
||||
</Text>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import {ImageSourcePropType} from 'react-native'
|
||||
|
||||
export const DEF_AVATER: ImageSourcePropType = require('../../../public/img/default-avatar.jpg')
|
||||
export const DEF_AVATAR: ImageSourcePropType = require('../../../public/img/default-avatar.jpg')
|
||||
export const BANNER: ImageSourcePropType = require('../../../public/img/beta-banner.jpg')
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import {ImageSourcePropType} from 'react-native'
|
||||
|
||||
export const DEF_AVATER: ImageSourcePropType = {uri: '/img/default-avatar.jpg'}
|
||||
export const DEF_AVATAR: ImageSourcePropType = {uri: '/img/default-avatar.jpg'}
|
||||
export const BANNER: ImageSourcePropType = {uri: '/img/beta-banner.jpg'}
|
||||
|
|
|
@ -22,7 +22,7 @@ import {HomeIcon, UserGroupIcon} from '../../lib/icons'
|
|||
import {UserAvatar} from '../../com/util/UserAvatar'
|
||||
import {useStores} from '../../../state'
|
||||
import {s, colors} from '../../lib/styles'
|
||||
import {DEF_AVATER} from '../../lib/assets'
|
||||
import {DEF_AVATAR} from '../../lib/assets'
|
||||
|
||||
export const MainMenu = observer(
|
||||
({active, onClose}: {active: boolean; onClose: () => void}) => {
|
||||
|
@ -173,20 +173,20 @@ export const MainMenu = observer(
|
|||
label="Create Scene"
|
||||
url="/contacts"
|
||||
/>
|
||||
<MenuItemImage img={DEF_AVATER} label="Galaxy Brain" url="/" />
|
||||
<MenuItemImage img={DEF_AVATAR} label="Galaxy Brain" url="/" />
|
||||
<MenuItemImage
|
||||
img={DEF_AVATER}
|
||||
img={DEF_AVATAR}
|
||||
label="Paul's Friends"
|
||||
url="/"
|
||||
/>
|
||||
</View>
|
||||
<View style={[styles.menuItems]}>
|
||||
<MenuItemImage
|
||||
img={DEF_AVATER}
|
||||
img={DEF_AVATAR}
|
||||
label="Cool People Only"
|
||||
url="/"
|
||||
/>
|
||||
<MenuItemImage img={DEF_AVATER} label="Techsky" url="/" />
|
||||
<MenuItemImage img={DEF_AVATAR} label="Techsky" url="/" />
|
||||
</View>
|
||||
</Animated.View>
|
||||
</SafeAreaView>
|
||||
|
|
Loading…
Reference in New Issue