|
|
@ -68,6 +68,10 @@ class MenuItems extends PureComponent {
|
|
|
|
render() {
|
|
|
|
render() {
|
|
|
|
if (!this.showDeviceMenu()) return null;
|
|
|
|
if (!this.showDeviceMenu()) return null;
|
|
|
|
const { device } = this.props;
|
|
|
|
const { device } = this.props;
|
|
|
|
|
|
|
|
const changeWalletButton =
|
|
|
|
|
|
|
|
device.features && device.features.passphrase_always_on_device
|
|
|
|
|
|
|
|
? l10nMessages.TR_CHANGE_PASSPHRASE
|
|
|
|
|
|
|
|
: l10nMessages.TR_CHANGE_WALLET_TYPE;
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<Wrapper>
|
|
|
|
<Wrapper>
|
|
|
|
{/* <Item onClick={() => {
|
|
|
|
{/* <Item onClick={() => {
|
|
|
@ -92,7 +96,7 @@ class MenuItems extends PureComponent {
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</IconWrapper>
|
|
|
|
</IconWrapper>
|
|
|
|
<Label>
|
|
|
|
<Label>
|
|
|
|
<FormattedMessage {...l10nMessages.TR_CHANGE_WALLET_TYPE} />
|
|
|
|
<FormattedMessage {...changeWalletButton} />
|
|
|
|
</Label>
|
|
|
|
</Label>
|
|
|
|
</Item>
|
|
|
|
</Item>
|
|
|
|
)}
|
|
|
|
)}
|
|
|
|