diy-template-components 1.0.17 → 1.0.18

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 CHANGED
@@ -1419,7 +1419,20 @@ function MobileHeader({
1419
1419
  downloadLink = null;
1420
1420
  }
1421
1421
  } else {
1422
- if (header?.appLink) {
1422
+ if (header?.isAndroidDelisted && header?.apkURL) {
1423
+ downloadLink = /*#__PURE__*/React.createElement(Button, {
1424
+ data: {
1425
+ link: header?.apkURL,
1426
+ isLink: 1,
1427
+ value: 'Download App',
1428
+ isExternal: 1
1429
+ },
1430
+ type: 'primary',
1431
+ size: 'small',
1432
+ target: 'blank',
1433
+ rel: null
1434
+ });
1435
+ } else if (header?.appLink) {
1423
1436
  downloadLink = /*#__PURE__*/React.createElement(Button, {
1424
1437
  data: {
1425
1438
  link: header?.appLink,