diff --git a/common/components/WalletDecrypt/index.tsx b/common/components/WalletDecrypt/index.tsx index 0918a3da..4fc2fab2 100644 --- a/common/components/WalletDecrypt/index.tsx +++ b/common/components/WalletDecrypt/index.tsx @@ -45,6 +45,7 @@ interface Props { hidden?: boolean; offline: boolean; allowReadOnly?: boolean; + disabledWallets?: string[]; } interface State { @@ -139,7 +140,8 @@ export class WalletDecrypt extends Component { const isSelected = this.state.selectedWalletKey === key; const isDisabled = this.isOnlineRequiredWalletAndOffline(key) || - (!this.props.allowReadOnly && wallet.component === ViewOnlyDecrypt); + (!this.props.allowReadOnly && wallet.component === ViewOnlyDecrypt) || + this.isWalletDisabled(key); return (