diy-template-components 1.0.37 → 1.0.38
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/build/index.es.js +2 -2
- package/build/index.es.js.map +1 -1
- package/build/index.js +2 -2
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -1471,7 +1471,7 @@ function MobileHeader({
|
|
|
1471
1471
|
if (header?.isAndroidDelisted && header?.apkURL) {
|
|
1472
1472
|
downloadLink = /*#__PURE__*/React.createElement(Button, {
|
|
1473
1473
|
data: {
|
|
1474
|
-
link: header?.iosUrl ? getDownloadAppLink(
|
|
1474
|
+
link: header?.iosUrl ? getDownloadAppLink(header?.appLink, header?.iosUrl) : header?.apkURL,
|
|
1475
1475
|
isLink: 1,
|
|
1476
1476
|
value: downloadAppText,
|
|
1477
1477
|
isExternal: 1
|
|
@@ -1484,7 +1484,7 @@ function MobileHeader({
|
|
|
1484
1484
|
} else if (header?.appLink) {
|
|
1485
1485
|
downloadLink = /*#__PURE__*/React.createElement(Button, {
|
|
1486
1486
|
data: {
|
|
1487
|
-
link: getDownloadAppLink(header?.appLink,
|
|
1487
|
+
link: getDownloadAppLink(header?.appLink, header?.iosUrl),
|
|
1488
1488
|
isLink: 1,
|
|
1489
1489
|
value: downloadAppText,
|
|
1490
1490
|
isExternal: 1
|