Merge pull request #933 from esteemapp/bugfix/launch

created launch screen
This commit is contained in:
Mustafa Buyukcelebi 2019-07-07 16:59:40 +03:00 committed by GitHub
commit ccaa481f4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 69 deletions

View File

@ -1,48 +1,18 @@
import React, { PureComponent, Fragment } from 'react';
import { View, Text } from 'react-native';
// Constants
// Components
import React from 'react';
import { View } from 'react-native';
import { Logo } from '../../../components';
// import styles from './launchStyles';
class LaunchScreen extends PureComponent {
/* Props
* ------------------------------------------------
* @prop { type } name - Description....
*/
constructor(props) {
super(props);
this.state = {};
}
// Component Life Cycles
// Component Functions
render() {
return <Fragment />;
// Temporarily removed
// return (
// <View
// style={{
// flex: 1,
// justifyContent: 'center',
// alignItems: 'center',
// marginBottom: 130,
// }}
// >
// <Logo style={{ width: 130, height: 130 }} />
// {/* <Text style={{ fontSize: 24 }}>eSteem</Text>
// <Text style={{ fontSize: 24 }}>mobile</Text> */}
// </View>
// );
}
}
const LaunchScreen = () => (
<View
style={{
flex: 1,
justifyContent: 'center',
alignItems: 'center',
marginBottom: 80,
}}
>
<Logo style={{ width: 105, height: 110 }} />
</View>
);
export default LaunchScreen;

View File

@ -1,25 +0,0 @@
import EStyleSheet from 'react-native-extended-stylesheet';
export default EStyleSheet.create({
container: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
backgroundColor: 'red',
},
title: {
fontFamily: 'Sansation_Bold',
color: '$primaryDarkBlue',
fontSize: 30,
paddingBottom: 0,
},
subTitle: {
fontFamily: 'Sansation_Regular',
color: '#00519c',
fontSize: 24,
},
logo: {
width: '$deviceWidth / 4',
height: '$deviceWidth / 4',
},
});