ordering-ui-react-native 0.18.83 → 0.18.85

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.18.83",
3
+ "version": "0.18.85",
4
4
  "description": "Reusable components made in react native",
5
5
  "main": "src/index.tsx",
6
6
  "author": "ordering.inc",
@@ -29,11 +29,6 @@ export const StripeMethodForm = (props: StripeMethodFormParams) => {
29
29
 
30
30
  useEffect(() => {
31
31
  if (Platform.OS === 'ios') {
32
- setMethodPaySupported({
33
- enabled: false,
34
- loading: false
35
- })
36
- setPlaceByMethodPay(false)
37
32
  return
38
33
  }
39
34
  if (!loadingCart) {
@@ -50,8 +50,8 @@ const StripeElementsFormUI = (props: any) => {
50
50
  const { height } = useWindowDimensions();
51
51
  const { top, bottom } = useSafeAreaInsets();
52
52
  const [isKeyboardShow, setIsKeyboardShow] = useState(false);
53
- const zipCodeEnabled = validationFields?.checkout?.zipcode?.enabled
54
- const zipCodeRequired = validationFields?.checkout?.zipcode?.required
53
+ const zipCodeEnabled = validationFields?.fields?.card?.zipcode?.enabled
54
+ const zipCodeRequired = validationFields?.fields?.card?.zipcode?.required
55
55
  const styles = StyleSheet.create({
56
56
  container: {
57
57
  width: '100%',
@@ -20,7 +20,7 @@ export const UDLoader = styled.View`
20
20
  width: 100%;
21
21
  justify-content: center;
22
22
  height: auto;
23
- display: inline-flex;
23
+ display: flex;
24
24
  flex-wrap: wrap;
25
25
  padding: 0;
26
26
  margin-top: 0px;