diff --git a/app/(auth)/intro.tsx b/app/(auth)/intro.tsx index 96442e1..d123a90 100644 --- a/app/(auth)/intro.tsx +++ b/app/(auth)/intro.tsx @@ -1,4 +1,4 @@ -import {Image, ScrollView, View} from 'react-native'; +import {ScrollView, View} from 'react-native'; import * as WebBrowser from 'expo-web-browser'; import styled, {css} from '@emotion/native'; @@ -11,6 +11,7 @@ import {t} from '../../src/STRINGS'; import {useSafeAreaInsets} from 'react-native-safe-area-context'; import ButtonSocialSignIn from '../../src/components/uis/ButtonSocialSignIn'; import {useWarmUpBrowser} from '../../src/hooks/useWarmUpBrowser'; +import {Image} from 'expo-image'; WebBrowser.maybeCompleteAuthSession(); @@ -97,6 +98,8 @@ export default function Intro(): JSX.Element { source={IMG_CROSSPLATFORMS} style={css` margin-top: 24px; + width: 330px; + height: 260px; `} /> ; @@ -47,7 +48,7 @@ export default function SocialSignInButton({ {loading ? ( - + ) : ( <> {leftElement ? ( diff --git a/src/components/uis/PostListItem.tsx b/src/components/uis/PostListItem.tsx index 41bc2d0..ba9a790 100644 --- a/src/components/uis/PostListItem.tsx +++ b/src/components/uis/PostListItem.tsx @@ -2,9 +2,8 @@ import styled, {css} from '@emotion/native'; import {Hr, Icon, Typography, useDooboo} from 'dooboo-ui'; import type {Image, Post, User} from '../../types'; import {formatDateTime} from '../../utils/date'; -import {TouchableOpacity} from 'react-native-gesture-handler'; import UserListItem from './UserListItem'; -import {View} from 'react-native'; +import {TouchableOpacity, View} from 'react-native'; import ControlItem, {ControlItemProps} from './ControlItem'; import {Image as ExpoImage} from 'expo-image'; import {useRecoilValue} from 'recoil'; diff --git a/src/components/uis/Scouter/Score.tsx b/src/components/uis/Scouter/Score.tsx index 1893041..7a1fea2 100644 --- a/src/components/uis/Scouter/Score.tsx +++ b/src/components/uis/Scouter/Score.tsx @@ -9,6 +9,7 @@ import { IC_TIER_PLATINUM, IC_TIER_SILVER, } from '../../../icons'; +import {Image} from 'expo-image'; const Container = styled.View` align-self: stretch; @@ -33,7 +34,7 @@ const ScoreView = styled.View` align-items: center; `; -const StyledImage = styled.Image` +const StyledImage = styled(Image)` width: 32px; height: 32px; margin-right: 8px;