Skip to content

Commit

Permalink
minor UI updates
Browse files Browse the repository at this point in the history
  • Loading branch information
swapnil-ahlawat committed Mar 29, 2021
1 parent 4cb92ec commit 61fadad
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 21 deletions.
26 changes: 8 additions & 18 deletions Frontend/screens/DeliverOrder.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,14 +120,14 @@ const DeliverOrder = ({ route, navigation }) => {
borderBottomColor: COLORS.black,
borderBottomWidth: 1,
borderRadius: 20,
marginBottom: SIZES.padding,
margin: SIZES.padding,
justifyContent: 'center',
}}
>
<View style={{ flexDirection: 'row' }}>
<Text
style={{
width: '10%',
width: '15%',
paddingLeft: SIZES.padding,
...FONTS.body3,
color: COLORS.black,
Expand All @@ -139,7 +139,7 @@ const DeliverOrder = ({ route, navigation }) => {
<Text
style={{
paddingLeft: SIZES.padding,
width: '55%',
width: '50%',
...FONTS.body3,
color: COLORS.black,
}}
Expand Down Expand Up @@ -276,7 +276,7 @@ const DeliverOrder = ({ route, navigation }) => {
<View
style={{
flexDirection: 'row',
marginTop: 5 * SIZES.padding,
marginTop: 3 * SIZES.padding,
alignItems: 'center',
}}
>
Expand All @@ -303,7 +303,7 @@ const DeliverOrder = ({ route, navigation }) => {
style={{
color: COLORS.black,
marginVertical: SIZES.padding,
marginLeft: 3 * SIZES.padding,
marginLeft: SIZES.padding,
...FONTS.body2,
width: SIZES.width * 0.9,
}}
Expand All @@ -314,7 +314,7 @@ const DeliverOrder = ({ route, navigation }) => {
style={{
color: COLORS.black,
marginVertical: SIZES.padding,
marginLeft: 3 * SIZES.padding,
marginLeft: SIZES.padding,
...FONTS.body3,
width: SIZES.width * 0.9,
}}
Expand Down Expand Up @@ -375,7 +375,8 @@ const DeliverOrder = ({ route, navigation }) => {
backgroundColor: COLORS.primary,
alignItems: 'center',
justifyContent: 'center',
borderRadius: 20,
borderRadius: SIZES.radius,
marginBottom: 2 * SIZES.padding,
}}
onPress={() => {
setModalVisible(false);
Expand Down Expand Up @@ -543,17 +544,6 @@ const DeliverOrder = ({ route, navigation }) => {
<ScrollView>
{renderOrder()}
{renderOrderInfo()}
{
<Text
style={{
margin: SIZES.padding * 2,
color: COLORS.white,
...FONTS.body2,
}}
>
Payment Mode: {order?.payment_mode}
</Text>
}
{renderTotal()}
</ScrollView>
{renderButton()}
Expand Down
4 changes: 1 addition & 3 deletions Frontend/screens/Order.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,13 +211,11 @@ const Order = ({ route, navigation }) => {
>
{order?.customerPhoneNo}
</Text>
{/* </View> */}

<View
style={{
flexDirection: 'row',
alignItems: 'center',
marginTop: SIZES.padding,
marginVertical: SIZES.padding,
}}
>
<Text
Expand Down

0 comments on commit 61fadad

Please sign in to comment.