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
19778017
Commit
19778017
authored
Jun 11, 2020
by
Fred
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix styling in both android and ios
parent
ab441d3e
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
12 deletions
+11
-12
Home.js
view/Home.js
+7
-7
Outlets.js
view/Outlets.js
+0
-1
ShoppingCart.js
view/ShoppingCart.js
+4
-4
No files found.
view/Home.js
View file @
19778017
...
@@ -228,8 +228,8 @@ class Home extends React.Component {
...
@@ -228,8 +228,8 @@ class Home extends React.Component {
render
()
{
render
()
{
// console.log(this.props.in_payment)
// console.log(this.props.in_payment)
return
(
return
(
<
SafeArea
View
style
=
{
styles
.
container
}
>
<
View
style
=
{
styles
.
container
}
>
<
StatusBar
hidden
=
{
true
}
/
>
{
/* <StatusBar hidden={true} /> */
}
<
ScrollView
>
<
ScrollView
>
<
View
style
=
{{
flex
:
6
}}
>
<
View
style
=
{{
flex
:
6
}}
>
<
View
style
=
{
styles
.
header
}
>
<
View
style
=
{
styles
.
header
}
>
...
@@ -493,7 +493,7 @@ class Home extends React.Component {
...
@@ -493,7 +493,7 @@ class Home extends React.Component {
<
/View
>
<
/View
>
<
/View
>
<
/View
>
<
/ScrollView
>
<
/ScrollView
>
<
/
SafeArea
View
>
<
/View
>
)
)
}
}
}
}
...
@@ -546,8 +546,8 @@ const styles = StyleSheet.create({
...
@@ -546,8 +546,8 @@ const styles = StyleSheet.create({
justifyContent
:
'center'
,
justifyContent
:
'center'
,
height
:
40
,
height
:
40
,
marginTop
:
10
,
marginTop
:
10
,
paddingTop
:
15
,
//
paddingTop: 15,
paddingBottom
:
15
,
//
paddingBottom: 15,
marginRight
:
0
,
marginRight
:
0
,
marginLeft
:
0
,
marginLeft
:
0
,
backgroundColor
:
'#838383'
,
backgroundColor
:
'#838383'
,
...
@@ -561,8 +561,8 @@ const styles = StyleSheet.create({
...
@@ -561,8 +561,8 @@ const styles = StyleSheet.create({
justifyContent
:
'center'
,
justifyContent
:
'center'
,
height
:
40
,
height
:
40
,
marginTop
:
10
,
marginTop
:
10
,
paddingTop
:
15
,
//
paddingTop: 15,
paddingBottom
:
15
,
//
paddingBottom: 15,
marginRight
:
0
,
marginRight
:
0
,
marginLeft
:
-
30
,
marginLeft
:
-
30
,
backgroundColor
:
'#354175'
,
backgroundColor
:
'#354175'
,
...
...
view/Outlets.js
View file @
19778017
...
@@ -147,7 +147,6 @@ class Outlets extends React.Component {
...
@@ -147,7 +147,6 @@ class Outlets extends React.Component {
const
label
=
cities
[
city
];
const
label
=
cities
[
city
];
const
value
=
city
;
const
value
=
city
;
data_city
.
push
({
label
:
label
,
value
:
label
})
data_city
.
push
({
label
:
label
,
value
:
label
})
console
.
log
(
"INI LABEL : "
+
label
)
}
}
}
}
...
...
view/ShoppingCart.js
View file @
19778017
...
@@ -881,8 +881,8 @@ const styles = StyleSheet.create({
...
@@ -881,8 +881,8 @@ const styles = StyleSheet.create({
justifyContent
:
'center'
,
justifyContent
:
'center'
,
height
:
40
,
height
:
40
,
marginTop
:
10
,
marginTop
:
10
,
paddingTop
:
15
,
//
paddingTop: 15,
paddingBottom
:
15
,
//
paddingBottom: 15,
marginRight
:
0
,
marginRight
:
0
,
marginLeft
:
0
,
marginLeft
:
0
,
backgroundColor
:
'#838383'
,
backgroundColor
:
'#838383'
,
...
@@ -896,8 +896,8 @@ const styles = StyleSheet.create({
...
@@ -896,8 +896,8 @@ const styles = StyleSheet.create({
justifyContent
:
'center'
,
justifyContent
:
'center'
,
height
:
40
,
height
:
40
,
marginTop
:
10
,
marginTop
:
10
,
paddingTop
:
15
,
//
paddingTop: 15,
paddingBottom
:
15
,
//
paddingBottom: 15,
marginRight
:
0
,
marginRight
:
0
,
marginLeft
:
-
30
,
marginLeft
:
-
30
,
backgroundColor
:
'#354175'
,
backgroundColor
:
'#354175'
,
...
...
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