Commit 0bc95751 authored by Wahyu Adjie Prasetyo's avatar Wahyu Adjie Prasetyo
parents eed83074 af4812ae
......@@ -9,7 +9,7 @@
"android",
"web"
],
"version": "a.2006051200",
"version": "a.2006061600",
"orientation": "portrait",
"icon": "./assets/excelso.png",
"splash": {
......@@ -30,7 +30,7 @@
},
"android": {
"package": "local.ravExcelso",
"versionCode": 2006051200,
"versionCode": 2006061600,
"config": {
"googleMaps": {
"apiKey": "AIzaSyAcCfuNHVFstDUE-ZDafWsiUmA3ON79cqo"
......@@ -45,8 +45,7 @@
"config": {
"organization": "ravintola",
"project": "ravintola",
"authToken": "5a140e31fb884af58c7d9e20e8baa5ddc8fee9ac79ba427786da245b3015f6d3",
"url": "your sentry url here"
"authToken": "5a140e31fb884af58c7d9e20e8baa5ddc8fee9ac79ba427786da245b3015f6d3"
}
}
]
......
......@@ -24,6 +24,7 @@ import * as Location from 'expo-location';
import * as Permissions from 'expo-permissions';
import * as Device from 'expo-device';
import session from '../function/session';
import Constants from 'expo-constants';
class Account extends React.Component {
constructor(props) {
......@@ -315,7 +316,7 @@ class Account extends React.Component {
</Card>
</TouchableOpacity>
</View>
<View style={{ flex: 1, flexDirection: 'row', justifyContent: 'center' }}>
<View style={{ flex: 1, flexDirection: 'row', marginBottom: 10, justifyContent: 'center' }}>
<TouchableOpacity style={{ marginBottom: 5, margin: 4 }} onPress={() => this.props.navigation.navigate('Transaction History')} >
<Card style={{ height: 120, width: 155 }}>
......@@ -346,10 +347,10 @@ class Account extends React.Component {
<View style={{ flex: 1, flexDirection: 'row', justifyContent: 'center' }}>
{this.state.premium === false ? (
<TouchableOpacity onPress={() => this.props.navigation.navigate('Upgrade Premium')} style={{ marginBottom: 20, marginRight: 5, marginLeft: 5 }}>
<Card style={{ height: 120, width: 155 }}>
<View style={{ height: 50, alignItems: 'center' }}>
<MaterialIcons name="autorenew" size={30} color="gray" style={{ top: 20 }} />
<Text style={{ fontFamily: 'Gotham-Black', textAlign: 'center', top: 30, fontSize: 14, color: '#838383' }}>UPGRADE PREMIUM</Text>
<Card style={{ width: 200, paddingHorizontal:10, paddingTop:20, paddingBottom:20 }}>
<View style={{ flex:1, alignItems: 'center' }}>
<MaterialIcons name="autorenew" size={30} color="gray" style={{ marginBottom: 10 }} />
<Text style={{ fontFamily: 'Gotham-Black', textAlign: 'center', fontSize: 14, color: '#838383' }}>UPGRADE PREMIUM</Text>
</View>
</Card>
</TouchableOpacity>
......@@ -370,6 +371,10 @@ class Account extends React.Component {
</View>
)
}
<View style={{ flex: 1, marginBottom: 10 }}>
<Text style={{ color: 'grey', fontSize: 12, textAlign: 'center' }}>Build Version : {Constants.manifest.version}</Text>
</View>
</ScrollView>
</View>
......
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