diy-template-components 1.1.1 → 1.1.2
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 -1
- package/build/index.es.js.map +1 -1
- package/build/index.js +2 -1
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -1119,6 +1119,7 @@ function OptionList({
|
|
|
1119
1119
|
alt: "appStore"
|
|
1120
1120
|
})) : null);
|
|
1121
1121
|
};
|
|
1122
|
+
const iosLink = isTutorWebsite ? headerData?.iosUrl : headerData?.iosDownloadLink;
|
|
1122
1123
|
return /*#__PURE__*/React.createElement("div", {
|
|
1123
1124
|
className: classes.listSection
|
|
1124
1125
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -1144,7 +1145,7 @@ function OptionList({
|
|
|
1144
1145
|
icon: arrowDown
|
|
1145
1146
|
}) : null, isTutorWebsite && /*#__PURE__*/React.createElement(React.Fragment, null, isAndroidDelisted && !headerData.navs ? /*#__PURE__*/React.createElement(React.Fragment, null, renderDownloadAppButton()) : /*#__PURE__*/React.createElement(React.Fragment, null, !headerData?.navs && renderAppDownloadLinks())), isMobile ? downloadApkURL?.length > 0 || headerData?.androidDownloadLink?.length || headerData?.iosDownloadLink?.length > 0 ? /*#__PURE__*/React.createElement(Button, {
|
|
1146
1147
|
data: {
|
|
1147
|
-
link: isAndroidDelisted ? getAppDownloadLink(downloadApkURL,
|
|
1148
|
+
link: isAndroidDelisted ? getAppDownloadLink(downloadApkURL, iosLink) : getAppDownloadLink(headerData?.androidDownloadLink, iosLink),
|
|
1148
1149
|
isLink: 1,
|
|
1149
1150
|
value: downloadAppText,
|
|
1150
1151
|
isExternal: 1
|