This commit is contained in:
henrydays 2019-03-11 18:29:21 +00:00
parent 4c1b2c5c02
commit 295123e5ed
1 changed files with 5 additions and 3 deletions

View File

@ -32,7 +32,9 @@ import Swiper from 'react-native-swiper';
const SCREEN_HEIGHT = Dimensions.get("window").height; const SCREEN_HEIGHT = Dimensions.get("window").height;
const SCREEN_WIDTH = Dimensions.get("window").width; const SCREEN_WIDTH = Dimensions.get("window").width;
import FitImage from 'react-native-fit-image'; import FitImage from 'react-native-fit-image';
import MapView, {PROVIDER_GOOGLE} from 'react-native-maps'; import MapView, {PROVIDER_GOOGLE} from 'react-native-maps';
const formatObj = (obj) => { const formatObj = (obj) => {
@ -132,7 +134,7 @@ class calendarDetail extends React.Component {
</View> </View>
) )
}; };
/*
renderMap = () => { renderMap = () => {
return ( return (
@ -154,7 +156,7 @@ class calendarDetail extends React.Component {
/> />
) )
}; };
*/
renderAttendee = () => { renderAttendee = () => {
return ( return (
<View style={{backgroundColor: '#fff', height: SCREEN_HEIGHT * 0.1}}> <View style={{backgroundColor: '#fff', height: SCREEN_HEIGHT * 0.1}}>
@ -211,7 +213,7 @@ class calendarDetail extends React.Component {
<View style={styles.infoRow}> <View style={styles.infoRow}>
<Text style={{fontSize: 30, color: "#CC1A17"}}>Localização</Text> <Text style={{fontSize: 30, color: "#CC1A17"}}>Localização</Text>
<Divider style={{backgroundColor: '#000', marginBottom: 10}}/> <Divider style={{backgroundColor: '#000', marginBottom: 10}}/>
{this.renderMap()}
</View> </View>
</ScrollView> </ScrollView>
<Divider style={{backgroundColor: 'black'}}/> <Divider style={{backgroundColor: 'black'}}/>