diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-09-26 23:55:40 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-09-26 23:55:40 +0800 |
commit | d6090921a89ffbb5fc0ed8f51bc0d51dd901234b (patch) | |
tree | a3c8cbb01db39e365f1d556e70f86466a5b148a1 /packages/website/ts/utils/utils.ts | |
parent | 78a693e092136aea64418954491e6b25c38a67d9 (diff) | |
download | dexon-sol-tools-d6090921a89ffbb5fc0ed8f51bc0d51dd901234b.tar dexon-sol-tools-d6090921a89ffbb5fc0ed8f51bc0d51dd901234b.tar.gz dexon-sol-tools-d6090921a89ffbb5fc0ed8f51bc0d51dd901234b.tar.bz2 dexon-sol-tools-d6090921a89ffbb5fc0ed8f51bc0d51dd901234b.tar.lz dexon-sol-tools-d6090921a89ffbb5fc0ed8f51bc0d51dd901234b.tar.xz dexon-sol-tools-d6090921a89ffbb5fc0ed8f51bc0d51dd901234b.tar.zst dexon-sol-tools-d6090921a89ffbb5fc0ed8f51bc0d51dd901234b.zip |
Update everything to Coinbase Wallet instead of Toshi
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) { |