Commit 1fa81f85 by Nguyễn Thị Thúy

merge dev

parent 6fe8c29f
......@@ -63,7 +63,7 @@ const EscrowView = (props) => {
}}
renderItem={({item, index}) => <Item item={item}
isEndItem={index == (data.length - 1)}
onPress={(item) => navigate.navigate(PRODUCTDETAIL)}/>}
onPress={(item) => navigate.navigate(PRODUCTDETAIL, {id: item.commoditiy.id, name: item.commoditiy.name})}/>}
/>
)}
</View>
......
......@@ -65,7 +65,7 @@ const EscrowView = (props) => {
<Item
item={item}
isEndItem={index == data.length - 1}
onPress={(item) => navigate.navigate(PRODUCTDETAIL)}
onPress={(item) => navigate.navigate(PRODUCTDETAIL, {id: item.id, name: item.name})}
/>
)}
/>
......
......@@ -63,7 +63,7 @@ const NotificaitonView = (props) => {
}}
renderItem={({item, index}) => <Item item={item}
isEndItem={index == (data.length - 1)}
onPress={(item) => navigate.navigate(PRODUCTDETAIL)}/>}
onPress={(item) => navigate.navigate(PRODUCTDETAIL, {id: item.id, name: item.name})}/>}
/>
)}
</View>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment