aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/utils
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-07-06 01:54:13 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-07-06 01:54:13 +0800
commit302b9deef3a7625caa6d49ccc497936d5e4f07e2 (patch)
treedc3918d4d3df4ded40889e20666559e0ec80d0f8 /packages/website/ts/utils
parent0f11ae1875aa7e21683953b45e45afb38c00c07a (diff)
downloaddexon-sol-tools-302b9deef3a7625caa6d49ccc497936d5e4f07e2.tar
dexon-sol-tools-302b9deef3a7625caa6d49ccc497936d5e4f07e2.tar.gz
dexon-sol-tools-302b9deef3a7625caa6d49ccc497936d5e4f07e2.tar.bz2
dexon-sol-tools-302b9deef3a7625caa6d49ccc497936d5e4f07e2.tar.lz
dexon-sol-tools-302b9deef3a7625caa6d49ccc497936d5e4f07e2.tar.xz
dexon-sol-tools-302b9deef3a7625caa6d49ccc497936d5e4f07e2.tar.zst
dexon-sol-tools-302b9deef3a7625caa6d49ccc497936d5e4f07e2.zip
Rename getBestDownloadLink to getBestWalletDownloadLinkAndIsMobile
Diffstat (limited to 'packages/website/ts/utils')
-rw-r--r--packages/website/ts/utils/utils.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/website/ts/utils/utils.ts b/packages/website/ts/utils/utils.ts
index d5e2c82b7..623819fc9 100644
--- a/packages/website/ts/utils/utils.ts
+++ b/packages/website/ts/utils/utils.ts
@@ -440,7 +440,7 @@ export const utils = {
return !_.isUndefined(token.trackedTimestamp);
},
// Returns a [downloadLink, isOnMobile] tuple.
- getBestWalletDownloadLink(): [string, boolean] {
+ getBestWalletDownloadLinkAndIsMobile(): [string, boolean] {
const browserType = utils.getBrowserType();
const isOnMobile = utils.isMobileOperatingSystem();
const operatingSystem = utils.getOperatingSystem();