Skip to content

Commit

Permalink
Last Order Render Mod
Browse files Browse the repository at this point in the history
  • Loading branch information
p33a33 committed Nov 2, 2020
1 parent c325e13 commit b5f3147
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/OrderListEntry.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default class OrderListEntry extends React.Component {
let { title, price, image } = order.products[0]
return (
<TouchableOpacity onPress={() => navigation.navigate('ProductDetail', { info: orderInfo.product })} >
<View style={{ flexDirection: "row", marginBottom: 10, width: "100%", justifyContent: "space-between" }}>
<View style={{ flexDirection: "row", marginBottom: 15, width: "100%", justifyContent: "space-between" }}>
<Image source={{ uri: `${SERVER}${image}` }} style={{ width: 90, height: 90 }} />
<View>
<ListItem.Title style={{ letterSpacing: 1.5 }}>{title.toUpperCase()}</ListItem.Title>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Feed/Mypage/SellerOrderList/SellerOrderList.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default class SellerOrderList extends React.Component {
return (
<LinearGradient useAngle={true} angle={91.5} colors={['#E2E2E2', '#C9D6FF']} style={{ height: "100%", width: "100%" }}>
<Text h4 style={{ textAlign: "left", marginTop: 20 }}>Orders</Text>
<View style={{ padding: 10, height: "100%", width: "100%", alignItems: "center" }}>
<View style={{ padding: 10, height: "100%", width: "100%", alignItems: "center", marginBottom: 15 }}>
<ScrollView style={{ padding: 10, width: "100%" }} contentContainerStyle={{ alignItems: "center" }}>
{this.state.orders && this.state.orders.map((order, key) => {
return <View style={{ width: "90%", backgroundColor: "white", padding: 10, borderRadius: 15 }} key={key} >
Expand Down

0 comments on commit b5f3147

Please sign in to comment.