ordering-ui-react-native 0.17.76 → 0.17.77

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ordering-ui-react-native",
3
- "version": "0.17.76",
3
+ "version": "0.17.77",
4
4
  "description": "Reusable components made in react native",
5
5
  "main": "src/index.tsx",
6
6
  "author": "ordering.inc",
@@ -557,7 +557,7 @@ const BusinessesListingUI = (props: BusinessesListingParams) => {
557
557
  <PageBanner position='app_business_listing' />
558
558
 
559
559
  <View style={{ height: 8, backgroundColor: theme.colors.backgroundGray100 }} />
560
- <ListWrapper ph={isChewLayout && 20}>
560
+ <ListWrapper style={{ paddingHorizontal: isChewLayout ? 20 : 40 }}>
561
561
  {!businessId && (
562
562
  <BusinessTypeFilter
563
563
  images={props.images}
@@ -67,7 +67,6 @@ export const HeaderWrapper = styled.ImageBackground`
67
67
 
68
68
  export const ListWrapper = styled.View`
69
69
  background-color: ${(props: any) => props.theme.colors.backgroundLight};
70
- padding-horizontal: ${(props: any) => props.ph ?? 40}px;
71
70
  `;
72
71
 
73
72
  export const FeaturedWrapper = styled.View`
@@ -1,9 +1,5 @@
1
1
  import styled from 'styled-components/native'
2
2
 
3
- export const ContainerButtons = styled.View`
4
- margin-vertical: 50px
5
- `
6
-
7
3
  export const Container = styled.ScrollView`
8
4
  position: relative;
9
5
  flex: 1;
@@ -13,7 +9,7 @@ export const Container = styled.ScrollView`
13
9
  export const NotificationsGroupSwitchWrapper = styled.View`
14
10
  flex-grow: 1;
15
11
  justify-content: space-between;
16
- paddingHorizontal: 20px;
12
+ padding: 0 20px;
17
13
  `
18
14
 
19
15
  export const SwitchWrapper = styled.View`