diff --git a/src/view/com/modals/TabsSelector.tsx b/src/view/com/modals/TabsSelector.tsx index 075da343..b4991cf7 100644 --- a/src/view/com/modals/TabsSelector.tsx +++ b/src/view/com/modals/TabsSelector.tsx @@ -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(() => { onNavigate(`/profile/${store.me.name || ''}`)}> - + {store.me.displayName || store.me.name || 'My profile'} diff --git a/src/view/lib/assets.native.ts b/src/view/lib/assets.native.ts index 2dd410bd..9dd4494f 100644 --- a/src/view/lib/assets.native.ts +++ b/src/view/lib/assets.native.ts @@ -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') diff --git a/src/view/lib/assets.ts b/src/view/lib/assets.ts index 9091c2d0..ee3c286d 100644 --- a/src/view/lib/assets.ts +++ b/src/view/lib/assets.ts @@ -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'} diff --git a/src/view/shell/mobile/MainMenu.tsx b/src/view/shell/mobile/MainMenu.tsx index 85cf2371..4fc9a09f 100644 --- a/src/view/shell/mobile/MainMenu.tsx +++ b/src/view/shell/mobile/MainMenu.tsx @@ -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" /> - + - +