ordering-ui-react-native 0.21.84 → 0.21.86
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
|
@@ -156,6 +156,7 @@ export const PaymentOptionsWebView = (props: PaymentOptionsWebViewParams) => {
|
|
|
156
156
|
user_id: user?.id,
|
|
157
157
|
user_name: user?.name
|
|
158
158
|
},
|
|
159
|
+
xappx: ordering?.appId,
|
|
159
160
|
currency: configs?.stripe_currency?.value || currency,
|
|
160
161
|
userToken: token,
|
|
161
162
|
clientId: webviewPaymethod?.credentials?.client_id,
|
|
@@ -47,7 +47,7 @@ const ProfileUI = (props: ProfileParams) => {
|
|
|
47
47
|
cleanFormState,
|
|
48
48
|
handleToggleAvalaibleStatusDriver,
|
|
49
49
|
isAlsea,
|
|
50
|
-
|
|
50
|
+
isShowDriverStatus,
|
|
51
51
|
navigation
|
|
52
52
|
} = props;
|
|
53
53
|
|
|
@@ -370,13 +370,13 @@ const ProfileUI = (props: ProfileParams) => {
|
|
|
370
370
|
adjustsFontSizeToFit
|
|
371
371
|
style={{ ...styles.label, paddingHorizontal: 0 }}>
|
|
372
372
|
{t(
|
|
373
|
-
`${
|
|
374
|
-
`${
|
|
373
|
+
`${!isShowDriverStatus ? 'NOT_' : ''}AVAILABLE_TO_RECEIVE_ORDERS`,
|
|
374
|
+
`${!isShowDriverStatus ? 'You are not ' : ''}Available to receive orders`
|
|
375
375
|
)}
|
|
376
376
|
</OText>
|
|
377
377
|
</View>
|
|
378
378
|
|
|
379
|
-
{
|
|
379
|
+
{isShowDriverStatus && (
|
|
380
380
|
<>
|
|
381
381
|
{userState.loadingDriver ? (
|
|
382
382
|
<ActivityIndicator size="small" color={theme.colors.primary} />
|