mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-21 12:21:31 +03:00
Changed launch screen
This commit is contained in:
parent
2f4cf3fb0e
commit
e690cf7586
BIN
src/assets/launch_screen.png
Normal file
BIN
src/assets/launch_screen.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 107 KiB |
@ -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
|
||||
|
@ -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>
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user