Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
eCartPro-Customer
Project
Project
Details
Activity
Releases
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
Dida Adams Arizona
eCartPro-Customer
Commits
cfbc95eb
Commit
cfbc95eb
authored
Jul 27, 2020
by
Dida Adams Arizona
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'didam' into 'master'
fix kesalahanku See merge request
!53
parents
3add0435
9e2a96a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
HomePageScreen.js
App/Containers/HomePageScreen.js
+2
-1
No files found.
App/Containers/HomePageScreen.js
View file @
cfbc95eb
...
...
@@ -84,7 +84,7 @@ class HomePageScreen extends Component {
<
View
style
=
{{
width
:
'50%'
,
paddingTop
:
30
}}
>
<
Image
source
=
{
Images
.
logo_eCart
}
style
=
{{
width
:
120
,
height
:
35
}}
/
>
<
View
style
=
{{
elevation
:
5
,
width
:
85
,
height
:
85
,
borderRadius
:
85
,
borderWidth
:
46
,
borderColor
:
'white'
,
marginTop
:
25
,
backgroundColor
:
'red'
,
alignItems
:
'center'
,
justifyContent
:
'center'
,}}
>
<
Image
source
=
{
{
uri
:
this
.
state
.
user
!=
null
?
'https://apiecart.eksad.com/'
+
this
.
state
.
user
.
data
.
user_image
:
Images
.
beautyProduct
}}
style
=
{{
width
:
85
,
height
:
85
,
borderRadius
:
85
}}
/
>
<
Image
source
=
{
this
.
state
.
user
==
null
?
Images
.
beautyProduct
:
{
uri
:
'https://apiecart.eksad.com/'
+
this
.
state
.
user
.
data
.
user_image
}}
style
=
{{
width
:
85
,
height
:
85
,
borderRadius
:
85
}}
/
>
<
/View
>
<
BaseText
type
=
{
"bold"
}
text
=
{
this
.
state
.
user
!=
null
?
titleCase
(
this
.
state
.
user
.
data
.
user_name
)
:
'Kang Dadang'
}
style
=
{{
fontSize
:
18
,
color
:
'#4b4b4b'
,
marginLeft
:
5
,
marginTop
:
10
}}
/
>
<
/View
>
...
...
@@ -169,6 +169,7 @@ class HomePageScreen extends Component {
this
.
getCart
()
this
.
getAppInfo
()
if
(
this
.
state
.
user
==
null
)
{
this
.
setState
({
authView
:
true
})
}
BackHandler
.
addEventListener
(
"hardwareBackPress"
,
this
.
backAction
);
...
...
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