diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-12-08 04:21:06 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-12-08 04:21:06 +0800 |
commit | 4e33d2b481b56ddb2f12e2ee63f40ab2381de741 (patch) | |
tree | 03f51825e038a2f6a6fbbcc5583fa82776af5fa6 | |
parent | b74b4eb053e9e4210dbf507fed88361741ce1d63 (diff) | |
download | dexon-sol-tools-4e33d2b481b56ddb2f12e2ee63f40ab2381de741.tar dexon-sol-tools-4e33d2b481b56ddb2f12e2ee63f40ab2381de741.tar.gz dexon-sol-tools-4e33d2b481b56ddb2f12e2ee63f40ab2381de741.tar.bz2 dexon-sol-tools-4e33d2b481b56ddb2f12e2ee63f40ab2381de741.tar.lz dexon-sol-tools-4e33d2b481b56ddb2f12e2ee63f40ab2381de741.tar.xz dexon-sol-tools-4e33d2b481b56ddb2f12e2ee63f40ab2381de741.tar.zst dexon-sol-tools-4e33d2b481b56ddb2f12e2ee63f40ab2381de741.zip |
feat: only use display name from provider in ui
-rw-r--r-- | packages/instant/src/containers/connected_account_payment_method.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/instant/src/containers/connected_account_payment_method.ts b/packages/instant/src/containers/connected_account_payment_method.ts index bb68fdd57..f648f0b54 100644 --- a/packages/instant/src/containers/connected_account_payment_method.ts +++ b/packages/instant/src/containers/connected_account_payment_method.ts @@ -58,7 +58,7 @@ const mergeProps = ( ...ownProps, network: connectedState.network, account: connectedState.providerState.account, - walletDisplayName: connectedState.walletDisplayName || connectedState.providerState.name, + walletDisplayName: connectedState.providerState.displayName, onUnlockWalletClick: () => connectedDispatch.unlockWalletAndDispatchToStore(connectedState.providerState), onInstallWalletClick: () => { const isMobile = envUtil.isMobileOperatingSystem(); |