diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-12-08 04:21:06 +0800 |
---|---|---|
committer | Fred Carlsen <fred@sjelfull.no> | 2018-12-13 01:19:31 +0800 |
commit | 74e07b63de9688aa0dca2ce69863203766db6008 (patch) | |
tree | 4ac62ed01568e23347d7848fccfeb09869797302 /packages/instant | |
parent | 7dd0b3a5daf2794a7714d95f8b0ff691bb6bfb13 (diff) | |
download | dexon-sol-tools-74e07b63de9688aa0dca2ce69863203766db6008.tar dexon-sol-tools-74e07b63de9688aa0dca2ce69863203766db6008.tar.gz dexon-sol-tools-74e07b63de9688aa0dca2ce69863203766db6008.tar.bz2 dexon-sol-tools-74e07b63de9688aa0dca2ce69863203766db6008.tar.lz dexon-sol-tools-74e07b63de9688aa0dca2ce69863203766db6008.tar.xz dexon-sol-tools-74e07b63de9688aa0dca2ce69863203766db6008.tar.zst dexon-sol-tools-74e07b63de9688aa0dca2ce69863203766db6008.zip |
feat: only use display name from provider in ui
Diffstat (limited to 'packages/instant')
-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(); |