Changed launch screen

This commit is contained in:
Mustafa Buyukcelebi 2019-07-17 15:26:43 +03:00
parent 2f4cf3fb0e
commit e690cf7586
3 changed files with 11 additions and 5 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 107 KiB

View File

@ -3,6 +3,8 @@ import React from 'react';
import ApplicationScreen from './screen/applicationScreen';
import ApplicationContainer from './container/applicationContainer';
import Launch from '../launch';
const Application = () => (
<ApplicationContainer>
{({
@ -16,7 +18,7 @@ const Application = () => (
isPinCodeReqiure,
}) => {
if (!isReady || !isRenderRequire || !isThemeReady) {
return null;
return <Launch />;
}
return (
<ApplicationScreen

View File

@ -1,6 +1,7 @@
import React from 'react';
import { View } from 'react-native';
import { Logo } from '../../../components';
import { View, Image } from 'react-native';
import LOGO from '../../../assets/launch_screen.png';
const LaunchScreen = () => (
<View
@ -8,10 +9,13 @@ const LaunchScreen = () => (
flex: 1,
justifyContent: 'center',
alignItems: 'center',
marginBottom: 80,
}}
>
<Logo style={{ width: 105, height: 110 }} />
<Image
source={LOGO}
style={{ flex: 1, justifyContent: 'center', alignItems: 'center' }}
resizeMode="contain"
/>
</View>
);