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.js
CHANGED
|
@@ -1487,7 +1487,7 @@ function MobileHeader({
|
|
|
1487
1487
|
if (header?.isAndroidDelisted && header?.apkURL) {
|
|
1488
1488
|
downloadLink = /*#__PURE__*/React__default["default"].createElement(Button, {
|
|
1489
1489
|
data: {
|
|
1490
|
-
link: header?.iosUrl ? getDownloadAppLink(
|
|
1490
|
+
link: header?.iosUrl ? getDownloadAppLink(header?.appLink, header?.iosUrl) : header?.apkURL,
|
|
1491
1491
|
isLink: 1,
|
|
1492
1492
|
value: downloadAppText,
|
|
1493
1493
|
isExternal: 1
|
|
@@ -1500,7 +1500,7 @@ function MobileHeader({
|
|
|
1500
1500
|
} else if (header?.appLink) {
|
|
1501
1501
|
downloadLink = /*#__PURE__*/React__default["default"].createElement(Button, {
|
|
1502
1502
|
data: {
|
|
1503
|
-
link: getDownloadAppLink(header?.appLink,
|
|
1503
|
+
link: getDownloadAppLink(header?.appLink, header?.iosUrl),
|
|
1504
1504
|
isLink: 1,
|
|
1505
1505
|
value: downloadAppText,
|
|
1506
1506
|
isExternal: 1
|