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
bd517c54
Commit
bd517c54
authored
Jun 17, 2020
by
Wahyu Adjie Prasetyo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pemasangan translate di account dan menu selection
parent
5f3bc839
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
20 deletions
+23
-20
Account.js
view/Account.js
+19
-18
MenuSelection.js
view/MenuSelection.js
+4
-2
No files found.
view/Account.js
View file @
bd517c54
This diff is collapsed.
Click to expand it.
view/MenuSelection.js
View file @
bd517c54
...
@@ -11,6 +11,7 @@ import * as Location from 'expo-location';
...
@@ -11,6 +11,7 @@ import * as Location from 'expo-location';
import
*
as
Permissions
from
'expo-permissions'
;
import
*
as
Permissions
from
'expo-permissions'
;
import
*
as
Device
from
'expo-device'
;
import
*
as
Device
from
'expo-device'
;
import
NumberFormat
from
'react-number-format'
;
import
NumberFormat
from
'react-number-format'
;
import
i18n
from
'i18n-js'
;
class
MenuSelection
extends
React
.
Component
{
class
MenuSelection
extends
React
.
Component
{
constructor
(
props
)
{
constructor
(
props
)
{
...
@@ -342,7 +343,7 @@ class MenuSelection extends React.Component {
...
@@ -342,7 +343,7 @@ class MenuSelection extends React.Component {
<
View
>
<
View
>
<
View
style
=
{{
height
:
40
,
borderRadius
:
10
,
width
:
'68%'
,
backgroundColor
:
'#CFB368'
,
marginRight
:
20
,
marginLeft
:
40
,
top
:
15
,
flexDirection
:
'row'
,
marginBottom
:
30
}}
>
<
View
style
=
{{
height
:
40
,
borderRadius
:
10
,
width
:
'68%'
,
backgroundColor
:
'#CFB368'
,
marginRight
:
20
,
marginLeft
:
40
,
top
:
15
,
flexDirection
:
'row'
,
marginBottom
:
30
}}
>
<
Image
source
=
{(
require
(
'../assets/icon/icon-order.png'
))}
style
=
{{
height
:
40
,
width
:
40
,
tintColor
:
'white'
,
}}
><
/Image
>
<
Image
source
=
{(
require
(
'../assets/icon/icon-order.png'
))}
style
=
{{
height
:
40
,
width
:
40
,
tintColor
:
'white'
,
}}
><
/Image
>
<
Text
style
=
{{
fontFamily
:
'Gotham-Light'
,
color
:
'white'
,
fontSize
:
16
,
alignSelf
:
'center'
,
textAlign
:
'center'
}}
>
View
Cart
<
/Text
>
<
Text
style
=
{{
fontFamily
:
'Gotham-Light'
,
color
:
'white'
,
fontSize
:
16
,
alignSelf
:
'center'
,
textAlign
:
'center'
}}
>
{
i18n
.
t
(
'Viewcart'
)}
<
/Text
>
<
/View
>
<
/View
>
<
/View
>
<
/View
>
<
/TouchableOpacity
>
<
/TouchableOpacity
>
...
@@ -389,7 +390,8 @@ const mapStateToProps = (state) => {
...
@@ -389,7 +390,8 @@ const mapStateToProps = (state) => {
order_total
:
state
.
order_total
,
order_total
:
state
.
order_total
,
quantity
:
state
.
quantity
,
quantity
:
state
.
quantity
,
address
:
state
.
address
,
address
:
state
.
address
,
menu_item
:
state
.
menu_item
menu_item
:
state
.
menu_item
,
language
:
state
.
language
}
}
}
}
...
...
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