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
14cc2ca9
Commit
14cc2ca9
authored
Jul 20, 2020
by
Deni Rinaldi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor flex
parent
6cb8cddf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ListSearchScreen.js
App/Containers/ListSearchScreen.js
+1
-1
No files found.
App/Containers/ListSearchScreen.js
View file @
14cc2ca9
...
@@ -216,7 +216,7 @@ class ListSearchScreen extends Component {
...
@@ -216,7 +216,7 @@ class ListSearchScreen extends Component {
}
}
}}
}}
renderItem
=
{({
item
,
index
})
=>
(
renderItem
=
{({
item
,
index
})
=>
(
<
TouchableOpacity
onPress
=
{()
=>
this
.
props
.
navigation
.
navigate
(
'DetailProductScreen'
,
{
productId
:
item
.
product_id
})}
style
=
{{
flex
:
1
,
borderRadius
:
15
}}
>
<
TouchableOpacity
onPress
=
{()
=>
this
.
props
.
navigation
.
navigate
(
'DetailProductScreen'
,
{
productId
:
item
.
product_id
})}
style
=
{{
flex
:
1
/
2
,
borderRadius
:
15
}}
>
<
ImageBackground
source
=
{{
uri
:
item
.
product_image
}}
imageStyle
=
{{
resizeMode
:
'cover'
,
borderRadius
:
15
}}
style
=
{{
flex
:
1
,
flexDirection
:
'column'
,
margin
:
10
,
borderRadius
:
15
,
marginTop
:
index
==
0
?
20
:
index
==
1
?
20
:
0
}}
>
<
ImageBackground
source
=
{{
uri
:
item
.
product_image
}}
imageStyle
=
{{
resizeMode
:
'cover'
,
borderRadius
:
15
}}
style
=
{{
flex
:
1
,
flexDirection
:
'column'
,
margin
:
10
,
borderRadius
:
15
,
marginTop
:
index
==
0
?
20
:
index
==
1
?
20
:
0
}}
>
<
View
style
=
{{
width
:
'100%'
,
height
:
270
,
justifyContent
:
'flex-end'
}}
>
<
View
style
=
{{
width
:
'100%'
,
height
:
270
,
justifyContent
:
'flex-end'
}}
>
<
View
style
=
{{
backgroundColor
:
'rgba(255,255,255,.5)'
,
padding
:
20
}}
>
<
View
style
=
{{
backgroundColor
:
'rgba(255,255,255,.5)'
,
padding
:
20
}}
>
...
...
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