|
@@ -1,5 +1,6 @@
|
|
import { FC } from 'react';
|
|
import { FC } from 'react';
|
|
-import { ImageBackground, SafeAreaView, View, Text } from 'react-native';
|
|
|
|
|
|
+import { ImageBackground, View, Text, StatusBar } from 'react-native';
|
|
|
|
+import { SafeAreaView } from 'react-native-safe-area-context';
|
|
import type { NavigationProp } from '@react-navigation/native';
|
|
import type { NavigationProp } from '@react-navigation/native';
|
|
|
|
|
|
import { Button } from '../../components/';
|
|
import { Button } from '../../components/';
|
|
@@ -14,9 +15,10 @@ type Props = {
|
|
|
|
|
|
const WelcomeScreen: FC<Props> = ({ navigation }) => {
|
|
const WelcomeScreen: FC<Props> = ({ navigation }) => {
|
|
return (
|
|
return (
|
|
- <View>
|
|
|
|
|
|
+ <View style={{ flex: 1 }}>
|
|
|
|
+ <StatusBar translucent backgroundColor="transparent" />
|
|
<ImageBackground
|
|
<ImageBackground
|
|
- style={{ height: '100%' }}
|
|
|
|
|
|
+ style={{ flex: 1 }}
|
|
source={require('../../../assets/images/welcome-background.png')}
|
|
source={require('../../../assets/images/welcome-background.png')}
|
|
>
|
|
>
|
|
<View style={styles.overlay} />
|
|
<View style={styles.overlay} />
|