2019-03-12 16:23:06 +00:00
|
|
|
import React from 'react';
|
|
|
|
import { StyleSheet, Image } from 'react-native';
|
|
|
|
|
|
|
|
import StatusBar from '../containers/StatusBar';
|
|
|
|
import { isAndroid } from '../utils/deviceInfo';
|
|
|
|
|
|
|
|
const styles = StyleSheet.create({
|
|
|
|
image: {
|
|
|
|
width: '100%',
|
|
|
|
height: '100%'
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
2019-03-18 18:52:38 +00:00
|
|
|
export default React.memo(() => (
|
2019-10-07 20:56:30 +00:00
|
|
|
<>
|
2019-03-18 18:52:38 +00:00
|
|
|
<StatusBar />
|
|
|
|
{isAndroid ? <Image source={{ uri: 'launch_screen' }} style={styles.image} /> : null}
|
2019-10-07 20:56:30 +00:00
|
|
|
</>
|
2019-03-18 18:52:38 +00:00
|
|
|
));
|