Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
C
clone_excelso
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Prasetya Saputra
clone_excelso
Commits
0bc95751
Commit
0bc95751
authored
Jun 06, 2020
by
Wahyu Adjie Prasetyo
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
ssh://repo.cs.co.id:2222/wahyu/bahanoprek
parents
eed83074
af4812ae
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
9 deletions
+13
-9
app.json
app.json
+3
-4
Account.js
view/Account.js
+10
-5
No files found.
app.json
View file @
0bc95751
...
...
@@ -9,7 +9,7 @@
"android"
,
"web"
],
"version"
:
"a.20060
512
00"
,
"version"
:
"a.20060
616
00"
,
"orientation"
:
"portrait"
,
"icon"
:
"./assets/excelso.png"
,
"splash"
:
{
...
...
@@ -30,7 +30,7 @@
},
"android"
:
{
"package"
:
"local.ravExcelso"
,
"versionCode"
:
20060
512
00
,
"versionCode"
:
20060
616
00
,
"config"
:
{
"googleMaps"
:
{
"apiKey"
:
"AIzaSyAcCfuNHVFstDUE-ZDafWsiUmA3ON79cqo"
...
...
@@ -45,8 +45,7 @@
"config"
:
{
"organization"
:
"ravintola"
,
"project"
:
"ravintola"
,
"authToken"
:
"5a140e31fb884af58c7d9e20e8baa5ddc8fee9ac79ba427786da245b3015f6d3"
,
"url"
:
"your sentry url here"
"authToken"
:
"5a140e31fb884af58c7d9e20e8baa5ddc8fee9ac79ba427786da245b3015f6d3"
}
}
]
...
...
view/Account.js
View file @
0bc95751
...
...
@@ -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
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment