ordering-ui-react-native 0.21.75 → 0.21.76
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,5 +1,5 @@
|
|
|
1
1
|
import React, { useState, useEffect, useCallback, useRef } from 'react';
|
|
2
|
-
import { View, StyleSheet, TouchableOpacity, Platform, I18nManager, ScrollView, Keyboard, BackHandler } from 'react-native';
|
|
2
|
+
import { View, StyleSheet, TouchableOpacity, Platform, I18nManager, ScrollView, Keyboard, BackHandler, SafeAreaView } from 'react-native';
|
|
3
3
|
import { initStripe, useConfirmPayment } from '@stripe/stripe-react-native';
|
|
4
4
|
import NativeStripeSdk from '@stripe/stripe-react-native/src/NativeStripeSdk'
|
|
5
5
|
import Picker from 'react-native-country-picker-modal';
|
|
@@ -448,9 +448,9 @@ const CheckoutUI = (props: any) => {
|
|
|
448
448
|
|
|
449
449
|
return (
|
|
450
450
|
<>
|
|
451
|
-
<
|
|
452
|
-
<
|
|
453
|
-
|
|
451
|
+
<SafeAreaView style={{ backgroundColor: theme.colors.backgroundPage }}>
|
|
452
|
+
<View style={styles.wrapperNavbar}>
|
|
453
|
+
<TopHeader>
|
|
454
454
|
<TopActions onPress={() => onNavigationRedirect('BottomTab', { screen: 'Cart' }, !props.fromMulti)}>
|
|
455
455
|
<IconAntDesign
|
|
456
456
|
name='arrowleft'
|
|
@@ -468,10 +468,10 @@ const CheckoutUI = (props: any) => {
|
|
|
468
468
|
{t('CHECKOUT', 'Checkout')}
|
|
469
469
|
</OText>
|
|
470
470
|
)}
|
|
471
|
-
|
|
472
|
-
</
|
|
473
|
-
</
|
|
474
|
-
<Container forwardRef={containerRef} noPadding onScroll={handleScroll}>
|
|
471
|
+
</TopHeader>
|
|
472
|
+
</View>
|
|
473
|
+
</SafeAreaView>
|
|
474
|
+
<Container pt={0} forwardRef={containerRef} noPadding onScroll={handleScroll}>
|
|
475
475
|
<View style={styles.wrapperNavbar}>
|
|
476
476
|
<NavBar
|
|
477
477
|
hideArrowLeft
|