ordering-ui-react-native 0.12.90 → 0.12.91
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
|
@@ -15,7 +15,8 @@ export const NotFoundSource = (props: NotFoundSourceParams) => {
|
|
|
15
15
|
content,
|
|
16
16
|
btnTitle,
|
|
17
17
|
conditioned,
|
|
18
|
-
onClickButton
|
|
18
|
+
onClickButton,
|
|
19
|
+
textSize
|
|
19
20
|
} = props
|
|
20
21
|
|
|
21
22
|
const theme = useTheme()
|
|
@@ -33,8 +34,8 @@ export const NotFoundSource = (props: NotFoundSourceParams) => {
|
|
|
33
34
|
/>
|
|
34
35
|
</NotFoundImage>
|
|
35
36
|
)}
|
|
36
|
-
{content && conditioned && !errorImage && <OText color={theme.colors.disabled} size={18} style={{textAlign: 'center'}}>{content}</OText>}
|
|
37
|
-
{content && !conditioned && <OText color={theme.colors.disabled} size={18} style={{textAlign: 'center'}}>{content}</OText>}
|
|
37
|
+
{content && conditioned && !errorImage && <OText color={theme.colors.disabled} size={textSize ?? 18} style={{textAlign: 'center'}}>{content}</OText>}
|
|
38
|
+
{content && !conditioned && <OText color={theme.colors.disabled} size={textSize ?? 18} style={{textAlign: 'center'}}>{content}</OText>}
|
|
38
39
|
{!onClickButton && props.children && (
|
|
39
40
|
props.children
|
|
40
41
|
)}
|
|
@@ -9,7 +9,7 @@ export const ShareComponent = (props : ShareComponentParams) => {
|
|
|
9
9
|
const {orderId, hashkey} = props
|
|
10
10
|
const [ ,t] = useLanguage()
|
|
11
11
|
const {showToast} = useToast()
|
|
12
|
-
const url =
|
|
12
|
+
const url = `${t('SHARE_URL', 'https://reactdemo.tryordering.com/')}orders/${orderId}?=${hashkey}`
|
|
13
13
|
const onShare = async () => {
|
|
14
14
|
try {
|
|
15
15
|
const result = await Share.share({
|