ordering-ui-react-native 0.21.85 → 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
|
@@ -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} />
|