diff options
author | Francesco Agosti <francesco.agosti93@gmail.com> | 2018-09-27 00:20:06 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-27 00:20:06 +0800 |
commit | a16228152915844751470acfaca6d0c335f67bf7 (patch) | |
tree | 658a8014bd65a02c312b405bf5d940339e680e40 /packages/website/ts/utils/utils.ts | |
parent | 8c18a8fefc0e1f9b762edac4d51dcd33c3a3f108 (diff) | |
parent | 48f6452c3b3540e2655868d854c200a12460e188 (diff) | |
download | dexon-sol-tools-a16228152915844751470acfaca6d0c335f67bf7.tar dexon-sol-tools-a16228152915844751470acfaca6d0c335f67bf7.tar.gz dexon-sol-tools-a16228152915844751470acfaca6d0c335f67bf7.tar.bz2 dexon-sol-tools-a16228152915844751470acfaca6d0c335f67bf7.tar.lz dexon-sol-tools-a16228152915844751470acfaca6d0c335f67bf7.tar.xz dexon-sol-tools-a16228152915844751470acfaca6d0c335f67bf7.tar.zst dexon-sol-tools-a16228152915844751470acfaca6d0c335f67bf7.zip |
Merge pull request #1094 from 0xProject/feature/website/coinbase-wallet-portal-fixes-and-clay-title
[website] Use coinbase wallet instead of Toshi, fix portal layout, update Clay's title
Diffstat (limited to 'packages/website/ts/utils/utils.ts')
-rw-r--r-- | packages/website/ts/utils/utils.ts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/website/ts/utils/utils.ts b/packages/website/ts/utils/utils.ts index b45e37aeb..d083e0ffc 100644 --- a/packages/website/ts/utils/utils.ts +++ b/packages/website/ts/utils/utils.ts @@ -323,7 +323,7 @@ export const utils = { } else if ((provider as any).isMetaMask) { parsedProviderName = Providers.Metamask; } else if (!_.isUndefined(_.get(window, 'SOFA'))) { - parsedProviderName = Providers.Toshi; + parsedProviderName = Providers.CoinbaseWallet; } else if (!_.isUndefined(_.get(window, '__CIPHER__'))) { parsedProviderName = Providers.Cipher; } @@ -453,14 +453,14 @@ export const utils = { if (isOnMobile) { switch (operatingSystem) { case OperatingSystemType.Android: - downloadLink = constants.URL_TOSHI_ANDROID_APP_STORE; + downloadLink = constants.URL_COINBASE_WALLET_ANDROID_APP_STORE; break; case OperatingSystemType.iOS: - downloadLink = constants.URL_TOSHI_IOS_APP_STORE; + downloadLink = constants.URL_COINBASE_WALLET_IOS_APP_STORE; break; default: - // Toshi is only supported on these mobile OSes - just default to iOS - downloadLink = constants.URL_TOSHI_IOS_APP_STORE; + // Coinbase wallet is only supported on these mobile OSes - just default to iOS + downloadLink = constants.URL_COINBASE_WALLET_IOS_APP_STORE; } } else { switch (browserType) { |