aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/modals/account-details-modal.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/components/modals/account-details-modal.js')
-rw-r--r--ui/app/components/modals/account-details-modal.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/app/components/modals/account-details-modal.js b/ui/app/components/modals/account-details-modal.js
index 049c75eee..38f70c33c 100644
--- a/ui/app/components/modals/account-details-modal.js
+++ b/ui/app/components/modals/account-details-modal.js
@@ -60,7 +60,8 @@ AccountDetailsModal.prototype.render = function () {
})
let exportPrivateKeyFeatureEnabled = true
- if (keyring.type === 'Trezor Hardware') {
+ // This feature is disabled for hardware wallets
+ if (keyring.type.search('Hardware') !== -1) {
exportPrivateKeyFeatureEnabled = false
}