Commit fabe3c4c authored by Wahyu Adjie Prasetyo's avatar Wahyu Adjie Prasetyo

pembenahan hasil meetting

parent c352d7d8
{
"expo": {
"name": "Excelso_update 03.00 / 19.05.2020",
"name": "Excelso_update 13.00 / 19.05.2020",
"slug": "excelso-pro",
"privacy": "public",
"sdkVersion": "36.0.0",
......
......@@ -184,14 +184,14 @@ class Account extends React.Component {
/>
</View>
<Text style={{ fontFamily: 'Gotham-Black', color: 'grey', fontSize: 17, textAlign: 'center', top: 5 }}>
{this.state.full_name}
{/* {this.state.full_name} */}
</Text>
<View style={{ height: 90, flexDirection: 'row', justifyContent: 'center' }}>
<TouchableOpacity style={{ flexDirection: 'row' }} onPress={() => this.props.navigation.navigate('Profile')}>
<Text style={{ fontFamily: 'Gotham-Black', color: '#CFB368', fontSize: 17, textAlign: 'center', top: 10 }}>
{this.state.email}
{this.state.full_name}
</Text>
<Icon
containerStyle={{ margin: 5 }}
......@@ -303,7 +303,7 @@ class Account extends React.Component {
<Card style={{ height: 100, width: 160 }}>
<View style={{ height: 50, alignItems: 'center' }}>
<AntDesign name="shoppingcart" size={30} color="gray" style={{ top: 20 }} />
<Text style={{ fontFamily: 'Gotham-Black', textAlign: 'center', top: 30, fontSize: 14 }}>USE BALANCE</Text>
<Text style={{ fontFamily: 'Gotham-Black', textAlign: 'center', top: 30, fontSize: 14 }}>BALANCE / POINT</Text>
</View>
</Card>
</TouchableOpacity>
......
......@@ -371,7 +371,19 @@ class Auth extends React.Component {
/>
<Stack.Screen name="Order Detail" component={OrderDetail} options={({ navigation, route }) => ({
headerLeft: props => <HeaderBackButton {...props} onPress={() => navigation.navigate('Home', { screen: 'ORDER' })} />,
headerStyle: { backgroundColor: '#CFB368' },
headerTitleContainerStyle: { alignContent: 'center' },
headerTitleAlign: 'center',
headerTintColor: '#fff',
headerTitleStyle: {
alignSelf: 'center',
fontFamily: 'Gotham-Black',
fontSize: 18,
color: 'white',
textAlign: 'center'
},
title: 'Reward History',
headerLeft: props => <HeaderBackButton {...props} onPress={() => navigation.navigate('Home', { screen: 'ORDER' })} />,
})} />
......
......@@ -289,7 +289,7 @@ class MenuSelection extends React.Component {
keyExtractor={(item) => item.id}
/>
</View>
<View style={{ height: 1, backgroundColor: 'grey', marginRight: 10, marginLeft: 10, marginTop: 5 }}></View>
<View style={{ height: 1, backgroundColor: 'grey', marginRight: 10, marginLeft: 10, marginTop: 5, }}></View>
<View style={{ flex: 3 }}>
{this.state.indicator == true ? (
<ActivityIndicator style={{ top: 10 }} size="large" color="#c9af6d" />
......@@ -309,7 +309,7 @@ class MenuSelection extends React.Component {
</View>
<View>
</View>
<View style={{ height: 1, borderWidth: 1, marginLeft: 10, marginRight: 10, borderColor: 'grey' }}></View>
<View style={{ height: 1, backgroundColor: 'grey', marginRight: 10, marginLeft: 10, marginTop: 5, }}></View>
<View style={{ height: 70 }}>
<View style={{ flex: 1, flexDirection: 'row' }}>
......
......@@ -106,6 +106,8 @@ class Outlets extends React.Component {
}
}
dataOutlets[i]['full_address'] = address;
console.log("INI YAA: "+JSON.stringify(dataOutlets));
}
this.setState({
......@@ -233,7 +235,7 @@ class Outlets extends React.Component {
</Text>
</View>
<View style={{ flex: 1,top:20 }}>
<TouchableOpacity onPress={() => { Linking.openURL('tel:(021) 56985640') }}>
<TouchableOpacity onPress={() => { Linking.openURL('tel:'+ item.phone) }}>
<Icon
name='ios-call'
type='ionicon'
......@@ -244,7 +246,7 @@ class Outlets extends React.Component {
</View>
<View style={{ flex: 1,top:20 }}>
<TouchableOpacity onPress={() => Linking.openURL('https://www.google.com/maps/dir/?api=1&destination=' + item.lat + item.long)}>
<TouchableOpacity onPress={() => Linking.openURL('https://www.google.com/maps/dir/?api=1&destination=' + item.lat +' '+ item.long)}>
<Icon
name='ios-navigate'
type='ionicon'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment