From 302b9deef3a7625caa6d49ccc497936d5e4f07e2 Mon Sep 17 00:00:00 2001 From: fragosti Date: Thu, 5 Jul 2018 10:54:13 -0700 Subject: Rename getBestDownloadLink to getBestWalletDownloadLinkAndIsMobile --- .../website/ts/components/onboarding/install_wallet_onboarding_step.tsx | 2 +- packages/website/ts/components/wallet/body_overlay.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/website/ts/components') diff --git a/packages/website/ts/components/onboarding/install_wallet_onboarding_step.tsx b/packages/website/ts/components/onboarding/install_wallet_onboarding_step.tsx index d72290025..d618c8318 100644 --- a/packages/website/ts/components/onboarding/install_wallet_onboarding_step.tsx +++ b/packages/website/ts/components/onboarding/install_wallet_onboarding_step.tsx @@ -8,7 +8,7 @@ import { utils } from 'ts/utils/utils'; export interface InstallWalletOnboardingStepProps {} export const InstallWalletOnboardingStep: React.StatelessComponent = () => { - const [downloadLink, isOnMobile] = utils.getBestWalletDownloadLink(); + const [downloadLink, isOnMobile] = utils.getBestWalletDownloadLinkAndIsMobile(); const followupText = isOnMobile ? `Please revisit this site in your mobile dApp browser to continue!` : `Please refresh the page once you've done this to continue!`; diff --git a/packages/website/ts/components/wallet/body_overlay.tsx b/packages/website/ts/components/wallet/body_overlay.tsx index d8fdade7d..26359d0d2 100644 --- a/packages/website/ts/components/wallet/body_overlay.tsx +++ b/packages/website/ts/components/wallet/body_overlay.tsx @@ -115,7 +115,7 @@ const UseDifferentWallet = (props: UseDifferentWallet) => { }; const GetWalletCallToAction = () => { - const [downloadLink, isOnMobile] = utils.getBestWalletDownloadLink(); + const [downloadLink, isOnMobile] = utils.getBestWalletDownloadLinkAndIsMobile(); const imageUrl = isOnMobile ? TOSHI_IMG_SRC : METAMASK_IMG_SRC; const text = isOnMobile ? 'Get Toshi Wallet' : 'Get MetaMask Wallet'; return ( -- cgit v1.2.3