ordering-ui-react-native 0.15.47 → 0.15.48
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
|
@@ -188,7 +188,7 @@ const OrderProgressUI = (props: any) => {
|
|
|
188
188
|
<ProgressBar style={{ width: getOrderStatus(lastOrder.status)?.percentage ? `${getOrderStatus(lastOrder.status)?.percentage}%` : '0%' }} />
|
|
189
189
|
</ProgressContentWrapper>
|
|
190
190
|
<ProgressTextWrapper>
|
|
191
|
-
<OText size={12}>{getOrderStatus(lastOrder.status)?.value}</OText>
|
|
191
|
+
<OText size={12} style={{ width: '50%' }}>{getOrderStatus(lastOrder.status)?.value}</OText>
|
|
192
192
|
<TimeWrapper>
|
|
193
193
|
<OText size={11}>{t('ESTIMATED_DELIVERY', 'Estimated delivery')}</OText>
|
|
194
194
|
<OText size={11}>
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { Platform } from 'react-native';
|
|
2
3
|
import OText from './OText';
|
|
3
4
|
|
|
4
5
|
const HeaderTitle = (props: any) => {
|
|
@@ -7,7 +8,7 @@ const HeaderTitle = (props: any) => {
|
|
|
7
8
|
<OText
|
|
8
9
|
size={24}
|
|
9
10
|
style={style ?? {
|
|
10
|
-
marginTop: 30,
|
|
11
|
+
marginTop: Platform.OS === 'android' ? 50 : 30,
|
|
11
12
|
paddingHorizontal: 40,
|
|
12
13
|
textTransform: 'capitalize'
|
|
13
14
|
}}
|