diff --git a/src/screens/AppIntroScreen/AppIntroScreen.tsx b/src/screens/AppIntroScreen/AppIntroScreen.tsx index e0e49ad5b..287af0477 100644 --- a/src/screens/AppIntroScreen/AppIntroScreen.tsx +++ b/src/screens/AppIntroScreen/AppIntroScreen.tsx @@ -13,6 +13,7 @@ import AppIntroSlider from 'react-native-app-intro-slider' import Constants from 'expo-constants' import AsyncStorage from '@react-native-async-storage/async-storage' import DeviceInfo from 'react-native-device-info' +import { Dimensions } from 'react-native' const data = [ { @@ -138,6 +139,11 @@ export default class AppIntroScreen extends React.Component { } _renderItem = ({ item }: { item: Item }) => { + const windowHeight = Dimensions.get('window').height; + const ImageHeight = (windowHeight) < 550 ? 240 : 320; + const ImageWidth = ImageHeight; + // console.log(windowHeight); + // console.log(ImageHeight); return ( - + {item.text}